diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-08-29 11:06:02 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-08-29 11:06:02 +0000 |
commit | 0482df32d510c706920a42e75d693e66583f7c2a (patch) | |
tree | 44f696162a459969a3a9019f637f8866f862cdfb /infrastructure | |
parent | ad267c2a616da844fc042f93efff4a31c3a2818d (diff) |
Run tests using special script on Windows.
Ensures that GCC DLLs are on the path, so that test executables will run.
Also run debug tests as well as release tests.
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/makeparcels.pl.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in index 5ef39ff8..56c4ca66 100755 --- a/infrastructure/makeparcels.pl.in +++ b/infrastructure/makeparcels.pl.in @@ -118,11 +118,17 @@ __E print MAKE "all:\t",join(' ',map {"build-".$_} @parcels),"\n\n"; +my $runtest_script = $target_windows ? './infrastructure/mingw/runtest.sh' + : './runtest.pl'; + print MAKE <<__END_OF_FRAGMENT; -test: release/common/test +test: debug/common/test release/common/test + +debug/common/test: + $runtest_script ALL debug release/common/test: - ./runtest.pl ALL release + $runtest_script ALL release .PHONY: docs docs: |