Ver código fonte

Make test-unit runnable without parallel

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Yohei Ueda 10 anos atrás
pai
commit
5bd5ef5a0a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      hack/make/test-unit

+ 1 - 1
hack/make/test-unit

@@ -42,7 +42,7 @@ bundle_test_unit() {
 		) else
 			# aww, no "parallel" available - fall back to boring
 			for test_dir in $TESTDIRS; do
-				"$(dirname "$BASH_SOURCE")/.go-compile-test-dir" "$test_dir"
+				. "$(dirname "$BASH_SOURCE")/.go-compile-test-dir" "$test_dir"
 			done
 		fi
 		echo "$TESTDIRS" | go_run_test_dir