lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7787136 2/2: Clean up unit-test artifacts


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7787136 2/2: Clean up unit-test artifacts
Date: Fri, 6 Jan 2017 12:42:47 +0000 (UTC)

branch: master
commit 77871364bd81cc8ee5edef6c5793932b1d6e330d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Clean up unit-test artifacts
---
 input_test.cpp      |    3 +++
 miscellany_test.cpp |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/input_test.cpp b/input_test.cpp
index e35b5a1..149a548 100644
--- a/input_test.cpp
+++ b/input_test.cpp
@@ -63,6 +63,9 @@ class input_test
         test_document_classes();
         test_obsolete_history();
         assay_speed();
+        // Rerun this test after assay_speed() because it removes
+        // 'replica' files iff their contents are uninteresting.
+        test_document_classes();
         }
 
   private:
diff --git a/miscellany_test.cpp b/miscellany_test.cpp
index d109184..e8fb104 100644
--- a/miscellany_test.cpp
+++ b/miscellany_test.cpp
@@ -68,6 +68,9 @@ void test_files_are_identical()
     ofs1 << "Test\n";
     }
     BOOST_TEST(!files_are_identical(f0, f1));
+
+    std::remove(f0);
+    std::remove(f1);
 }
 
 void test_minmax()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]