aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2007-04-24 03:43:08 +0000
committerBill Meier <wmeier@newsguy.com>2007-04-24 03:43:08 +0000
commit6386eda24cc3c74dd869c39a81148ed339efbef3 (patch)
tree78095e6cba2232f366f98c8791e42c0c5e55946a /test
parent2c346d9a3ca3af8102aeeedb5e0f7668f884d6e7 (diff)
Addt'l fixes so suite-unittests will run under windows
svn path=/trunk/; revision=21546
Diffstat (limited to 'test')
-rwxr-xr-xtest/suite-unittests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/suite-unittests.sh b/test/suite-unittests.sh
index c4eff935a9..8db12cadcd 100755
--- a/test/suite-unittests.sh
+++ b/test/suite-unittests.sh
@@ -37,17 +37,18 @@ unittests_step_test() {
return
fi
- # if we're on windows, we have to copy the test exe, and its manifest, to the gtk2
+ # if we're on windows, we have to copy the test exe, and its manifest, to the wireshark-gtk2
# dir before we can use them.
+ # {Note that 'INSTALL_DIR' must be a Windows Pathname)
if [ "$WS_SYSTEM" == "Windows" ] ; then
- (cd `dirname $DUT` && $MAKE `basename $DUT`_install INSTALL_DIR=`pwd`/../wireshark-gtk2) > testout.txt 2>&1
+ (cd `dirname $DUT` && $MAKE `basename $DUT`_install INSTALL_DIR='..\wireshark-gtk2') > testout.txt 2>&1
if [ $? -ne 0 ]; then
echo
cat ./testout.txt
test_step_failed "install $DUT failed"
return
fi
- DUT=`pwd`/../wireshark-gtk2/`basename $DUT`
+ DUT=../wireshark-gtk2/`basename $DUT`
fi
$DUT > testout.txt 2>&1