[glom] Fix make check.



commit 99be0a8f6befc46b4ad259df6be253a6ce4d70d5
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Oct 19 09:58:39 2011 +0200

    Fix make check.
    
    	* tests/test_selfhosting_new_from_example.cc: Add some missing !.

 ChangeLog                                  |    6 ++++++
 tests/test_selfhosting_new_from_example.cc |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c74500c..86418c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-10-19  Murray Cumming  <murrayc murrayc com>
 
+	Fix make check.
+
+	* tests/test_selfhosting_new_from_example.cc: Add some missing !.
+
+2011-10-19  Murray Cumming  <murrayc murrayc com>
+
 	Do not pygoject_init() the wrong version.
 
 	* glom/libglom/init.cc: Specify pygobject 3 instead of 2 when calling
diff --git a/tests/test_selfhosting_new_from_example.cc b/tests/test_selfhosting_new_from_example.cc
index 41fee96..040714d 100644
--- a/tests/test_selfhosting_new_from_example.cc
+++ b/tests/test_selfhosting_new_from_example.cc
@@ -93,13 +93,13 @@ int main()
     return EXIT_FAILURE;
   }
 
-  if(test_table_exists("songs", document))
+  if(!test_table_exists("songs", document))
   {
     test_selfhosting_cleanup();
     return EXIT_FAILURE;
   }
 
-  if(test_table_exists("publishers", document))
+  if(!test_table_exists("publishers", document))
   {
     test_selfhosting_cleanup();
     return EXIT_FAILURE;



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