aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-unittests.sh
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-10-06 12:44:10 +0000
committerEvan Huus <eapache@gmail.com>2013-10-06 12:44:10 +0000
commite0cc11c92b16e3128cfa93c6fab07540e785f018 (patch)
treec7c740c52cec6004400ee1bbcf0fd5c91fb76975 /test/suite-unittests.sh
parentf5cebd0ef9c446eea4b4bce871a0af9160d37390 (diff)
From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9174
Support running most tests out-of-tree. Use case is to have a source tree and use a semi-unprivileged user to perform tests (to rule out interference). From me: - fix unit-test suite, it has to build the binaries it runs so it must more-or-less ignore the out-of-tree stuff - fix name-res suite, just missing a path qualifier svn path=/trunk/; revision=52397
Diffstat (limited to 'test/suite-unittests.sh')
-rwxr-xr-xtest/suite-unittests.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/suite-unittests.sh b/test/suite-unittests.sh
index 8629ccb5fe..5e847fca39 100755
--- a/test/suite-unittests.sh
+++ b/test/suite-unittests.sh
@@ -64,25 +64,25 @@ unittests_step_test() {
unittests_step_exntest() {
- DUT=../epan/exntest
+ DUT=$SOURCE_DIR/epan/exntest
ARGS=
unittests_step_test
}
unittests_step_reassemble_test() {
- DUT=../epan/reassemble_test
+ DUT=$SOURCE_DIR/epan/reassemble_test
ARGS=
unittests_step_test
}
unittests_step_tvbtest() {
- DUT=../epan/tvbtest
+ DUT=$SOURCE_DIR/epan/tvbtest
ARGS=
unittests_step_test
}
unittests_step_wmem_test() {
- DUT=../epan/wmem/wmem_test
+ DUT=$SOURCE_DIR/epan/wmem/wmem_test
ARGS=--verbose
unittests_step_test
}