summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_header_test.ps1
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-10-15 00:38:18 +0000
committerStephen D. Huston <shuston@apache.org>2009-10-15 00:38:18 +0000
commit7ae0c86350150e818b70c1305bc5b4e4a3de17df (patch)
treebe176bad4bcd4a75ec4639f7a54ecd57cd3c4ffa /qpid/cpp/src/tests/run_header_test.ps1
parent11378edb5d636b0711bfe4a397df4536ca7a014e (diff)
downloadqpid-python-7ae0c86350150e818b70c1305bc5b4e4a3de17df.tar.gz
Improved test output capturing in automated tests; correctly get exe process exit codes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@825358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_header_test.ps1')
-rw-r--r--qpid/cpp/src/tests/run_header_test.ps18
1 files changed, 1 insertions, 7 deletions
diff --git a/qpid/cpp/src/tests/run_header_test.ps1 b/qpid/cpp/src/tests/run_header_test.ps1
index c7bc2d788e..7d3e43a30f 100644
--- a/qpid/cpp/src/tests/run_header_test.ps1
+++ b/qpid/cpp/src/tests/run_header_test.ps1
@@ -35,13 +35,7 @@ if (Test-Path qpidd.port) {
# Test runs from the tests directory but the test executables are in a
# subdirectory based on the build type. Look around for it before trying
# to start it.
-$subs = "Debug","Release","MinSizeRel","RelWithDebInfo"
-foreach ($sub in $subs) {
- $prog = ".\$sub\header_test.exe"
- if (Test-Path $prog) {
- break
- }
-}
+. $srcdir\find_prog.ps1 .\header_test.exe
if (!(Test-Path $prog)) {
"Cannot locate header_test.exe"
exit 1