[Box Backup-commit] COMMIT r3647 - box/trunk/infrastructure

subversion at boxbackup.org subversion at boxbackup.org
Sat Aug 29 12:06:02 BST 2015


Author: chris
Date: 2015-08-29 11:06:02 +0000 (Sat, 29 Aug 2015)
New Revision: 3647

Modified:
   box/trunk/infrastructure/makeparcels.pl.in
Log:
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.


Modified: box/trunk/infrastructure/makeparcels.pl.in
===================================================================
--- box/trunk/infrastructure/makeparcels.pl.in	2015-08-29 10:40:59 UTC (rev 3646)
+++ box/trunk/infrastructure/makeparcels.pl.in	2015-08-29 11:06:02 UTC (rev 3647)
@@ -118,11 +118,17 @@
 
 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:




More information about the Boxbackup-commit mailing list