-
Bug
-
Resolution: Unresolved
-
P4
-
25
I see "/usr/bin/awk: syntax error at source line 1" when I try to run any gtest locally (macOS).
make test TEST="gtest:NMT" MICRO="RESULTS_FORMAT=json" TEST_VM_OPTS="-XX:NativeMemoryTracking=detail"
...
[ PASSED ] 54 tests.
Finished running test 'gtest:NMT/server'
Test report is stored in build/macosx-aarch64-server-release/test-results/gtest_NMT_server
/usr/bin/awk: syntax error at source line 1
context is
/YOU HAVE [0-9]+ DISABLED TEST/ { if (match($0, >>> /[0-9]+/, <<<
/usr/bin/awk: illegal statement at source line 1
/usr/bin/awk: illegal statement at source line 1
expr: syntax error
/bin/bash: line 0: printf: : invalid number
make[3]: *** [run-test-report] Error 1
make[2]: *** [test] Error 2
ERROR: Build failed for target 'test' in configuration 'macosx-aarch64-server-release' (exit code 2)
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [main] Error 2
make: *** [test] Error 2
make test TEST="gtest:NMT" MICRO="RESULTS_FORMAT=json" TEST_VM_OPTS="-XX:NativeMemoryTracking=detail"
...
[ PASSED ] 54 tests.
Finished running test 'gtest:NMT/server'
Test report is stored in build/macosx-aarch64-server-release/test-results/gtest_NMT_server
/usr/bin/awk: syntax error at source line 1
context is
/YOU HAVE [0-9]+ DISABLED TEST/ { if (match($0, >>> /[0-9]+/, <<<
/usr/bin/awk: illegal statement at source line 1
/usr/bin/awk: illegal statement at source line 1
expr: syntax error
/bin/bash: line 0: printf: : invalid number
make[3]: *** [run-test-report] Error 1
make[2]: *** [test] Error 2
ERROR: Build failed for target 'test' in configuration 'macosx-aarch64-server-release' (exit code 2)
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [main] Error 2
make: *** [test] Error 2