mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Add read_file to testlib.c.
This commit is contained in:
1 parent
6283389bc8
commit
f9de8950e4
3 files changed
+58
-7
No files matched your search
@@ -86,6 +86,7 @@ func do(dirname string, filename string) (failed bool, err error) {
|
||||
outCmd := exec.Command(out)
|
||||
outCmd.Stdout = os.Stdout
|
||||
outCmd.Stderr = os.Stderr
|
||||
outCmd.Dir = dirname
|
||||
if err := outCmd.Run(); err == nil {
|
||||
// No-op.
|
||||
} else if _, ok := err.(*exec.ExitError); ok {
|
||||
|
||||
Reference in new issue
Block a user