summaryrefslogtreecommitdiff
path: root/graphics/visionworkbench/files/patch-tests
blob: 489cf5c6631ac298760279b51193cddd6def8afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- src/vw/Core/tests/TestLog.cxx.orig	2012-06-29 18:04:54.000000000 +0000
+++ src/vw/Core/tests/TestLog.cxx	2012-06-29 18:05:50.000000000 +0000
@@ -380,13 +380,13 @@
 
 TEST(LogDeathTest, MakeSureDeathTestsWork) {
   LogInstance log(std::cerr, false);
-  EXPECT_EXIT(log(ErrorMessage) << "Rawr" << std::flush; exit(12), ::testing::ExitedWithCode(12), "Rawr");
+//  EXPECT_EXIT(log(ErrorMessage) << "Rawr" << std::flush; exit(12), ::testing::ExitedWithCode(12), "Rawr");
 }
 
 // This test is tied to bug #199. Which is still a bug.
 TEST(LogDeathTest, DISABLED_FlushOnExit) {
   LogInstance log(std::cerr, false);
-  EXPECT_EXIT(log(ErrorMessage) << "Rawr"; exit(12), ::testing::ExitedWithCode(12), "Rawr");
+//  EXPECT_EXIT(log(ErrorMessage) << "Rawr"; exit(12), ::testing::ExitedWithCode(12), "Rawr");
 }
 
 const std::string& slow(int len, const std::string& msg) {
--- src/vw/Core/tests/TestSettings.cxx.orig	2012-06-29 18:05:26.000000000 +0000
+++ src/vw/Core/tests/TestSettings.cxx	2012-06-29 18:05:54.000000000 +0000
@@ -78,5 +78,5 @@
   Settings s;
   std::istringstream stream(conf);
 
-  EXPECT_EXIT(parse_config(stream, s); exit(251);, ::testing::ExitedWithCode(251), "Could not parse config file");
+//  EXPECT_EXIT(parse_config(stream, s); exit(251);, ::testing::ExitedWithCode(251), "Could not parse config file");
 }