Skip to content
Closed
Prev Previous commit
Next Next commit
fix for tarball
  • Loading branch information
aduh95 committed Mar 1, 2022
commit 642a1ad7a7dcead9fbe141c4f63d7d0fc3d32b77
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ testclean:
# Next one is legacy remove this at some point
$(RM) -r test/tmp*
$(RM) -r test/.tmp*
$(RM) -d test/common/knownGlobals.json

.PHONY: distclean
.NOTPARALLEL: distclean
Expand Down Expand Up @@ -262,7 +261,8 @@ coverage-report-js:

.PHONY: cctest
# Runs the C++ tests using the built `cctest` executable.
cctest: all
# knownGlobals.json is listed as order-only prerequisit to make it work from the tarball.
cctest: all | test/common/knownGlobals.json
@out/$(BUILDTYPE)/$@ --gtest_filter=$(GTEST_FILTER)
@out/$(BUILDTYPE)/embedtest "require('./test/embedding/test-embedding.js')"

Expand Down Expand Up @@ -326,8 +326,8 @@ test-cov: all
$(MAKE) build-addons
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
$(MAKE) cctest
CI_SKIP_TESTS=$(COV_SKIP_TESTS) $(MAKE) jstest
$(MAKE) cctest

.PHONY: test-parallel
test-parallel: all
Expand Down