From 7ae0c86350150e818b70c1305bc5b4e4a3de17df Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 15 Oct 2009 00:38:18 +0000 Subject: 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 --- qpid/cpp/src/tests/run_header_test.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'qpid/cpp/src/tests/run_header_test.ps1') 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 -- cgit v1.2.1