diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-10-15 00:38:18 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-10-15 00:38:18 +0000 |
| commit | 4d5e7ba350d4076296e1ca3fab39dbc36a640d50 (patch) | |
| tree | c9a40fdb358dee54455338fa61811ec98fea3f93 /cpp/src/tests/run_header_test.ps1 | |
| parent | 0aca464453c5c4ed3fb0f536445a998ca8a9c7c8 (diff) | |
| download | qpid-python-4d5e7ba350d4076296e1ca3fab39dbc36a640d50.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/qpid@825358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_header_test.ps1')
| -rw-r--r-- | cpp/src/tests/run_header_test.ps1 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/tests/run_header_test.ps1 b/cpp/src/tests/run_header_test.ps1 index c7bc2d788e..7d3e43a30f 100644 --- a/cpp/src/tests/run_header_test.ps1 +++ b/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 |
