summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-13 18:44:20 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-13 18:44:20 (GMT)
commitb45071cc60b060a83fff14b9ee2e21b1ae53015a (patch)
tree009ab1565ef0c4cdba402aaa8995e1a477a6dc35 /Source/kwsys/testProcess.c
parent27ab5339637d97a57a29252ff4bc15c21bce067b (diff)
downloadCMake-b45071cc60b060a83fff14b9ee2e21b1ae53015a.zip
CMake-b45071cc60b060a83fff14b9ee2e21b1ae53015a.tar.gz
CMake-b45071cc60b060a83fff14b9ee2e21b1ae53015a.tar.bz2
ENH: Adding debugging code for freebsd.
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r--Source/kwsys/testProcess.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index d4e498a..85975cc 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/testProcess.c
@@ -325,6 +325,12 @@ int main(int argc, const char* argv[])
fprintf(stderr, "Output on stderr before test %d.\n", n);
fflush(stdout);
fflush(stderr);
+#if defined(__FreeBSD__)
+ if(n == 4)
+ {
+ putenv("TEST_PROCESS_4=1");
+ }
+#endif
r = runChild(cmd, states[n-1], exceptions[n-1], values[n-1], 0,
outputs[n-1], delays[n-1], timeouts[n-1]);
fprintf(stdout, "Output on stdout after test %d.\n", n);