From 6386eda24cc3c74dd869c39a81148ed339efbef3 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Tue, 24 Apr 2007 03:43:08 +0000 Subject: Addt'l fixes so suite-unittests will run under windows svn path=/trunk/; revision=21546 --- test/suite-unittests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/suite-unittests.sh') 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 -- cgit v1.2.3