[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5170: Create check_firewall and check_lib_core binaries in the test subdirectory.

------------------------------------------------------------
revno: 5170
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-11-22 18:28:01 +0100
message:
  Create check_firewall and check_lib_core binaries in the test subdirectory.
  
  All other test binaries reside there and it's better not to clutter the root.
modified:
  .bzrignore
  Makefile.am


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file '.bzrignore'
--- .bzrignore  2010-11-12 17:49:42 +0000
+++ .bzrignore  2010-11-22 17:28:01 +0000
@@ -47,6 +47,8 @@
 tags
 test/auth_performance
 test/certteststub
+test/check_firewall
+test/check_lib_core
 test/dh_performance
 test/fw_port_bindings_performance
 test/hc_performance

=== modified file 'Makefile.am'
--- Makefile.am 2010-11-19 22:31:19 +0000
+++ Makefile.am 2010-11-22 17:28:01 +0000
@@ -70,10 +70,10 @@
 check_PROGRAMS  =
 
 if HIP_UNITTESTS
-TESTS           += check_firewall \
-                   check_lib_core
-check_PROGRAMS  += check_firewall \
-                   check_lib_core
+TESTS           += test/check_firewall \
+                   test/check_lib_core
+check_PROGRAMS  += test/check_firewall \
+                   test/check_lib_core
 endif
 
 
@@ -196,14 +196,14 @@
 endif
 
 
-check_lib_core_SOURCES =    test/check_lib_core.c          \
-                            test/lib/core/hit.c            \
-                            test/lib/core/straddr.c
+test_check_firewall_SOURCES = test/check_firewall.c          \
+                              test/firewall/file_buffer.c    \
+                              test/firewall/line_parser.c    \
+                              test/firewall/port_bindings.c
 
-check_firewall_SOURCES =    test/check_firewall.c          \
-                            test/firewall/file_buffer.c    \
-                            test/firewall/line_parser.c    \
-                            test/firewall/port_bindings.c
+test_check_lib_core_SOURCES = test/check_lib_core.c          \
+                              test/lib/core/hit.c            \
+                              test/lib/core/straddr.c
 
 # Initialize LDADD lists empty, because modules might add entries to LDADD. The
 # module LDADDs need to be included before the standard LDADDs, because modules
@@ -220,11 +220,11 @@
 
 ### library dependencies ###
 
-check_lib_core_LDADD                     = lib/core/libhipcore.la
-check_firewall_LDADD                     = lib/core/libhipcore.la
 firewall_hipfw_LDADD                    += lib/core/libhipcore.la
 hipd_hipd_LDADD                         += lib/core/libhipcore.la
 test_auth_performance_LDADD              = lib/core/libhipcore.la
+test_check_firewall_LDADD                = lib/core/libhipcore.la
+test_check_lib_core_LDADD                = lib/core/libhipcore.la
 test_certteststub_LDADD                  = lib/core/libhipcore.la
 test_dh_performance_LDADD                = lib/core/libhipcore.la
 test_fw_port_bindings_performance_LDADD  = lib/core/libhipcore.la

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5170: Create check_firewall and check_lib_core binaries in the test subdirectory. - noreply