diff options
author | Marius Ungureanu <teromario@yahoo.com> | 2013-06-14 01:48:31 +0400 |
---|---|---|
committer | Marius Ungureanu <teromario@yahoo.com> | 2013-06-14 01:48:31 +0400 |
commit | 354a9bc7c5db9aa8e874c212dec4a8942ec93675 (patch) | |
tree | 637ef2ad2ab64daee0a986df0d3527b4e2da2f88 /main/wintest.sh | |
parent | b078e34281f21b229349ecd8849d6c3ab2b0b232 (diff) |
Improved UnitTests script for Windows.
Diffstat (limited to 'main/wintest.sh')
-rw-r--r-- | main/wintest.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/wintest.sh b/main/wintest.sh index 09a2f5436b..70702886c2 100644 --- a/main/wintest.sh +++ b/main/wintest.sh @@ -1,2 +1,8 @@ -PATH=$GTK_BASEPATH\\bin external/mdtestharness/nunit-console-x86.exe -domain=multiple -noshadow build/tests/UnitTests.dll
-
+if [ $# -lt 1 ]; then
+ build/bin/mdtool run-md-tests build/tests/UnitTests.dll
+ build/bin/mdtool run-md-tests build/tests/*.Tests.dll
+else
+ for arg in $@; do
+ build/bin/mdtool run-md-tests $arg
+ done
+fi
|