lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Wed, 20 Jul 2016 14:29:27 +0000 (UTC)

branch: master
commit c80f750bb67824828ef0019bd969ce0b6e670a12
Author: Gregory W. Chicares <address@hidden>
Date:   Tue Jul 19 16:00:55 2016 +0000

    Use production branch for class Input's unit test
    
    Formerly, this test used the antediluvian branch. It is more useful to
    test the production branch.
    
    This change makes the initialize() step in the database speed tests
    several times slower, because the production branch does more work.
---
 input_test.cpp |    4 ++++
 objects.make   |    4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/input_test.cpp b/input_test.cpp
index 7cf939a..0e0a112 100644
--- a/input_test.cpp
+++ b/input_test.cpp
@@ -36,6 +36,7 @@
 #include "dbnames.hpp"
 #include "global_settings.hpp"
 #include "miscellany.hpp"
+#include "path_utility.hpp"             // initialize_filesystem()
 #include "test_tools.hpp"
 #include "timer.hpp"
 #include "xml_lmi.hpp"
@@ -523,6 +524,9 @@ void input_test::mete_ill_xsd()
 
 int test_main(int, char*[])
 {
+    // Absolute paths require "native" name-checking policy for msw.
+    initialize_filesystem();
+
     // Location of '*.xsd' files.
     global_settings::instance().set_data_directory("/opt/lmi/data");
 
diff --git a/objects.make b/objects.make
index 100c33d..b806edc 100644
--- a/objects.make
+++ b/objects.make
@@ -634,7 +634,6 @@ input_test$(EXEEXT): \
   $(boost_filesystem_objects) \
   $(common_test_objects) \
   $(xmlwrapp_objects) \
-  antediluvian_stubs.o \
   calendar_date.o \
   ce_product_name.o \
   configurable_settings.o \
@@ -656,6 +655,7 @@ input_test$(EXEEXT): \
   input_sequence.o \
   input_test.o \
   input_xml_io.o \
+  lmi.o \
   mc_enum.o \
   mc_enum_types.o \
   mc_enum_types_aux.o \
@@ -666,7 +666,9 @@ input_test$(EXEEXT): \
   null_stream.o \
   path_utility.o \
   premium_tax.o \
+  product_data.o \
   single_cell_document.o \
+  stratified_charges.o \
   timer.o \
   tn_range_types.o \
   xml_lmi.o \



reply via email to

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