diff --git a/Makefile b/Makefile index da807fdd2..4c818600b 100644 --- a/Makefile +++ b/Makefile @@ -99,74 +99,74 @@ ocaml_unit_test: test_this_build frontend_replace: c_frontend_replace cpp_frontend_replace objc_frontend_replace objcpp_frontend_replace c_frontend_replace: - make -C ./infer/tests/codetoanalyze/c/frontend replace + $(MAKE) -C ./infer/tests/codetoanalyze/c/frontend replace c_frontend_test: - make -C ./infer/tests/codetoanalyze/c/frontend test + $(MAKE) -C ./infer/tests/codetoanalyze/c/frontend test c_infer_test: - make -C ./infer/tests/codetoanalyze/c/errors test + $(MAKE) -C ./infer/tests/codetoanalyze/c/errors test cpp_frontend_replace: - make -C ./infer/tests/codetoanalyze/cpp/frontend replace + $(MAKE) -C ./infer/tests/codetoanalyze/cpp/frontend replace cpp_frontend_test: - make -C ./infer/tests/codetoanalyze/cpp/frontend test + $(MAKE) -C ./infer/tests/codetoanalyze/cpp/frontend test cpp_infer_test: - make -C ./infer/tests/codetoanalyze/cpp/errors test + $(MAKE) -C ./infer/tests/codetoanalyze/cpp/errors test java_checkers_test: - make -C ./infer/tests/codetoanalyze/java/checkers test + $(MAKE) -C ./infer/tests/codetoanalyze/java/checkers test java_crashcontext_test: - make -C ./infer/tests/codetoanalyze/java/crashcontext test + $(MAKE) -C ./infer/tests/codetoanalyze/java/crashcontext test java_eradicate_test: - make -C ./infer/tests/codetoanalyze/java/eradicate test + $(MAKE) -C ./infer/tests/codetoanalyze/java/eradicate test java_harness_test: - make -C ./infer/tests/codetoanalyze/java/harness test + $(MAKE) -C ./infer/tests/codetoanalyze/java/harness test java_infer_test: - make -C ./infer/tests/codetoanalyze/java/infer test + $(MAKE) -C ./infer/tests/codetoanalyze/java/infer test java_tracing_test: - make -C ./infer/tests/codetoanalyze/java/tracing test + $(MAKE) -C ./infer/tests/codetoanalyze/java/tracing test java_quandary_test: - make -C ./infer/tests/codetoanalyze/java/quandary test + $(MAKE) -C ./infer/tests/codetoanalyze/java/quandary test objc_frontend_replace: - make -C ./infer/tests/codetoanalyze/objc/frontend replace + $(MAKE) -C ./infer/tests/codetoanalyze/objc/frontend replace objc_frontend_test: - make -C ./infer/tests/codetoanalyze/objc/frontend test + $(MAKE) -C ./infer/tests/codetoanalyze/objc/frontend test objc_infer_test: - make -C ./infer/tests/codetoanalyze/objc/errors test + $(MAKE) -C ./infer/tests/codetoanalyze/objc/errors test objc_linters: - make -C ./infer/tests/codetoanalyze/objc/linters test + $(MAKE) -C ./infer/tests/codetoanalyze/objc/linters test objcpp_frontend_replace: - make -C ./infer/tests/codetoanalyze/objcpp/frontend replace + $(MAKE) -C ./infer/tests/codetoanalyze/objcpp/frontend replace objcpp_frontend_test: - make -C ./infer/tests/codetoanalyze/objcpp/frontend test + $(MAKE) -C ./infer/tests/codetoanalyze/objcpp/frontend test objcpp_linters: - make -C ./infer/tests/codetoanalyze/objcpp/linters test + $(MAKE) -C ./infer/tests/codetoanalyze/objcpp/linters test direct_tests: - time make -j $(NCPU) -l $(NCPU) $(DIRECT_TESTS) + $(MAKE) -j $(NCPU) -l $(NCPU) $(DIRECT_TESTS) buck_test: infer - make direct_tests + $(MAKE) direct_tests NO_BUCKD=1 ./infer/tests/build_systems/build_integration_tests.py buck_test_xml: infer - make direct_tests + $(MAKE) direct_tests buck test --xml test.xml # TODO: generate test.xml with test results NO_BUCKD=1 ./infer/tests/build_systems/build_integration_tests.py diff --git a/infer/tests/codetoanalyze/Makefile.clang b/infer/tests/codetoanalyze/Makefile.clang index 28b9cb7bf..7b02a6f74 100644 --- a/infer/tests/codetoanalyze/Makefile.clang +++ b/infer/tests/codetoanalyze/Makefile.clang @@ -19,7 +19,7 @@ print: analyze LC_ALL=C sort -t, -k1,1 -k2,2 -k3n,3 -o issues.exp.test issues.exp.test test: analyze print - make clean + $(MAKE) clean diff -u issues.exp issues.exp.test rm issues.exp.test diff --git a/infer/tests/codetoanalyze/Makefile.frontend b/infer/tests/codetoanalyze/Makefile.frontend index df2030f0f..5fc416554 100644 --- a/infer/tests/codetoanalyze/Makefile.frontend +++ b/infer/tests/codetoanalyze/Makefile.frontend @@ -15,13 +15,13 @@ test: capture for file in $(FILES) ; do \ diff -u $$file.dot $$file.test.dot ; \ done - make clean + $(MAKE) clean replace: capture for file in $(FILES) ; do \ mv $$file.test.dot $$file.dot ; \ done - make clean + $(MAKE) clean clean: rm -rf infer-out *.o */*.test.dot */*/*.test.dot diff --git a/infer/tests/codetoanalyze/java/Makefile b/infer/tests/codetoanalyze/java/Makefile index 0eb7b7468..ee5dad536 100644 --- a/infer/tests/codetoanalyze/java/Makefile +++ b/infer/tests/codetoanalyze/java/Makefile @@ -27,7 +27,7 @@ print: analyze LC_ALL=C sort -t: -k1,1 -k2n,2 -o issues.exp.test issues.exp.test test: analyze print - make clean + $(MAKE) clean diff -u issues.exp issues.exp.test rm issues.exp.test diff --git a/infer/tests/codetoanalyze/java/crashcontext/Makefile b/infer/tests/codetoanalyze/java/crashcontext/Makefile index cd8839e16..49d570062 100644 --- a/infer/tests/codetoanalyze/java/crashcontext/Makefile +++ b/infer/tests/codetoanalyze/java/crashcontext/Makefile @@ -38,5 +38,5 @@ test: analyze diff -u $$file.exp $$file.exp.test ; \ rm $$file.exp.test ; \ done - make clean + $(MAKE) clean