Skip to content

Commit 798876d

Browse files
committed
Tweak Makefiles so it hopefully works with the perf-tests branch
1 parent a41f9ba commit 798876d

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

IntegrationTests/Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@ node_modules: package-lock.json
1818
build_rt: node_modules
1919
cd ../Runtime && npm run build
2020

21-
.PHONY: benchmark
22-
benchmark: build_rt dist/BenchmarkTests.wasm
21+
.PHONY: benchmark_setup
22+
benchmark_setup: build_rt dist/BenchmarkTests.wasm
23+
24+
.PHONY: run_benchmark
25+
run_benchmark:
2326
node bin/benchmark-tests.js
2427

28+
.PHONY: benchmark
29+
benchmark: benchmark_setup run_benchmark
30+
2531
.PHONY: test
2632
test: build_rt dist/PrimaryTests.wasm
2733
node bin/primary-tests.js

Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ test:
1515
CONFIGURATION=debug make test && \
1616
CONFIGURATION=release make test
1717

18+
.PHONY: benchmark_setup
19+
benchmark_setup:
20+
cd IntegrationTests && make benchmark_setup
21+
22+
.PHONY: run_benchmark
23+
run_benchmark:
24+
cd IntegrationTests && make -s run_benchmark

0 commit comments

Comments
 (0)