mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 10:01:53 -05:00
ci(yay): add integration test framework (#2178)
* add integration test framework * fix integration tests * fix integration tests
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
//go:build !integration
|
||||
// +build !integration
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -27,7 +30,7 @@ import (
|
||||
func TestPrintUpdateList(t *testing.T) {
|
||||
// The current method of capturing os.Stdout hinders parallelization.
|
||||
// Setting of global settings.NoConfirm in printUpdateList also hinders parallelization.
|
||||
//t.Parallel()
|
||||
// t.Parallel()
|
||||
pacmanBin := t.TempDir() + "/pacman"
|
||||
f, err := os.OpenFile(pacmanBin, os.O_RDONLY|os.O_CREATE, 0o755)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user