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:
James Shubin
2024-07-25 12:39:43 -04:00
parent fd86b35ce3
commit 8b54306eb9
9 changed files with 633 additions and 8 deletions

View File

@@ -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