lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [5341] Add a target to test the GPT server


From: Greg Chicares
Subject: [lmi-commits] [5341] Add a target to test the GPT server
Date: Fri, 23 Dec 2011 17:07:23 +0000

Revision: 5341
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5341
Author:   chicares
Date:     2011-12-23 17:07:23 +0000 (Fri, 23 Dec 2011)
Log Message:
-----------
Add a target to test the GPT server

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/workhorse.make

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2011-12-23 17:06:25 UTC (rev 5340)
+++ lmi/trunk/ChangeLog 2011-12-23 17:07:23 UTC (rev 5341)
@@ -28833,3 +28833,14 @@
   wx-2.9.3.patch [new file]
 Upgrade to wx-2.9.3 .
 
+20111223T1706Z <address@hidden> [597]
+
+  ihs_server7702test.cpp
+Improve GPT server shared-library test by making it self validating
+and correcting the target premium.
+
+20111223T1707Z <address@hidden> [597]
+
+  workhorse.make
+Add a target to test the GPT server.
+

Modified: lmi/trunk/workhorse.make
===================================================================
--- lmi/trunk/workhorse.make    2011-12-23 17:06:25 UTC (rev 5340)
+++ lmi/trunk/workhorse.make    2011-12-23 17:07:23 UTC (rev 5341)
@@ -117,6 +117,7 @@
     gpt_server$(EXEEXT) \
     gpt_so_test$(EXEEXT) \
     ihs_crc_comp$(EXEEXT) \
+    libgpt$(SHREXT) \
 
   ifneq (mpatrol,$(findstring mpatrol,$(build_type)))
     default_targets += \
@@ -1189,6 +1190,23 @@
 
 
################################################################################
 
+# Test GPT server.
+
+# Eventually the gpt_server$(EXEEXT) part of this recipe will be
+# replaced by a set of '.gpt' files for use with 'make system_test'.
+
+.PHONY: gpt_server_tests
+gpt_server_tests: gpt_server$(EXEEXT) gpt_so_test$(EXEEXT)
+       @cd $(data_dir) && $(CURDIR)/gpt_so_test$(EXEEXT)
+       @cd $(data_dir) && $(CURDIR)/gpt_server$(EXEEXT) \
+         <$(test_dir)/gpt_server.test.in \
+         >$(CURDIR)/gpt_server.test.out
+       @$(DIFF) gpt_server.test.out $(test_dir)/gpt_server.test.touchstone \
+         && $(ECHO) GPT server test succeeded. \
+         || $(ECHO) GPT server test FAILED.
+
+################################################################################
+
 # System test.
 
 # Output is compared with $(DIFF), which reports all textual




reply via email to

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