Commit 784e77f0 authored by Iustin Pop's avatar Iustin Pop

Split the hs-check test rule

Currently, both the unit test and the shell tests are run (manually)
from this rule. This has two downsides: you can't (compile and) run
just one of them easily, and make can't run them in parallel.

By splitting the rules, we can both of the above easily.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 1c0f9d12
...@@ -1551,13 +1551,19 @@ check-local: check-dirs $(GENERATED_FILES) ...@@ -1551,13 +1551,19 @@ check-local: check-dirs $(GENERATED_FILES)
done; \ done; \
test -z "$$error" test -z "$$error"
.PHONY: hs-check .PHONY: hs-tests
hs-check: test/hs/htest test/hs/hpc-htools test/hs/hpc-mon-collector $(HS_BUILT_TEST_HELPERS) \ hs-tests: test/hs/htest | $(BUILT_PYTHON_SOURCES)
| $(BUILT_PYTHON_SOURCES) @rm -f htest.tix
@rm -f *.tix
./test/hs/htest ./test/hs/htest
.PHONY: hs-shell
hs-shell: test/hs/hpc-htools test/hs/hpc-mon-collector $(HS_BUILT_TEST_HELPERS)
@rm -f hpc-htools.tix hpc-mon-collector.tix
HBINARY="./test/hs/hpc-htools" ./test/hs/offline-test.sh HBINARY="./test/hs/hpc-htools" ./test/hs/offline-test.sh
.PHONY: hs-check
hs-check: hs-tests hs-shell
# E111: indentation is not a multiple of four # E111: indentation is not a multiple of four
# E121: continuation line indentation is not a multiple of four # E121: continuation line indentation is not a multiple of four
# (since our indent level is not 4) # (since our indent level is not 4)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment