examples: lib: Fix these rotted tests
I think the mgmt lib approach is a good idea, even though I'm not putting much energy into keeping these up to date. Let's at least re-enable the tests for now, after a few fixups.
This commit is contained in:
@@ -24,7 +24,7 @@ cd `basename "$linkto"`
|
||||
# loop through individual *.go files in working dir
|
||||
for file in `find . -maxdepth 9 -type f -name '*.go'`; do
|
||||
#echo "running test on: $file"
|
||||
run-test go build -i -o "$buildout" "$file" || fail_test "could not build: $file"
|
||||
run-test go build -o "$buildout" "$file" || fail_test "could not build: $file"
|
||||
done
|
||||
rm "$buildout" || true # clean up build mess
|
||||
|
||||
|
||||
Reference in New Issue
Block a user