mirror of
https://github.com/dlang/dmd.git
synced 2025-05-05 17:41:24 +03:00
Disable runnable_cxx on POSIX's auto-tester
This is now handled by Github actions. Don't disable Windows because this hasn't been implemented yet.
This commit is contained in:
parent
848824ab57
commit
c6c14a1e3c
3 changed files with 13 additions and 2 deletions
4
ci.sh
4
ci.sh
|
@ -86,9 +86,9 @@ test() {
|
||||||
test_dmd() {
|
test_dmd() {
|
||||||
# test fewer compiler argument permutations for PRs to reduce CI load
|
# test fewer compiler argument permutations for PRs to reduce CI load
|
||||||
if [ "$FULL_BUILD" == "true" ] && [ "$OS_NAME" == "linux" ]; then
|
if [ "$FULL_BUILD" == "true" ] && [ "$OS_NAME" == "linux" ]; then
|
||||||
make -j1 -C test start_all_tests MODEL=$MODEL N=$N # all ARGS by default
|
make -j1 -C test auto-tester-test MODEL=$MODEL N=$N # all ARGS by default
|
||||||
else
|
else
|
||||||
make -j1 -C test start_all_tests MODEL=$MODEL N=$N ARGS="-O -inline -release"
|
make -j1 -C test auto-tester-test MODEL=$MODEL N=$N ARGS="-O -inline -release"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,14 @@ ifneq (,$(findstring Darwin_64_32, $(PWD)))
|
||||||
auto-tester-test:
|
auto-tester-test:
|
||||||
echo "Darwin_64_32_disabled"
|
echo "Darwin_64_32_disabled"
|
||||||
else
|
else
|
||||||
|
ifneq (,$(findstring windows, $(PWD)))
|
||||||
auto-tester-test: test
|
auto-tester-test: test
|
||||||
|
else # POSIX
|
||||||
|
# Like test, but without runnable_cxx
|
||||||
|
auto-tester-test:
|
||||||
|
$(QUIET)$(MAKE) -C src -f posix.mak unittest
|
||||||
|
$(QUIET)$(MAKE) -C test -f Makefile
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
buildkite-test: test
|
buildkite-test: test
|
||||||
|
|
|
@ -208,6 +208,10 @@ start_all_tests: $(RUNNER)
|
||||||
@echo "Running all tests"
|
@echo "Running all tests"
|
||||||
$(EXECUTE_RUNNER) all
|
$(EXECUTE_RUNNER) all
|
||||||
|
|
||||||
|
# The auto-tester cannot run runnable_cxx as its compiler is too old
|
||||||
|
auto-tester-test: $(RUNNER)
|
||||||
|
$(EXECUTE_RUNNER) runnable compilable fail_compilation dshell
|
||||||
|
|
||||||
$(RESULTS_DIR)/d_do_test$(EXE): tools/d_do_test.d tools/sanitize_json.d $(RESULTS_DIR)/.created
|
$(RESULTS_DIR)/d_do_test$(EXE): tools/d_do_test.d tools/sanitize_json.d $(RESULTS_DIR)/.created
|
||||||
@echo "Building d_do_test tool"
|
@echo "Building d_do_test tool"
|
||||||
@echo "OS: '$(OS)'"
|
@echo "OS: '$(OS)'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue