[Lemon-commits] [lemon_svn] ladanyi: r1144 - hugo/trunk/src/test

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:43:30 CET 2006


Author: ladanyi
Date: Tue Sep 14 10:16:14 2004
New Revision: 1144

Added:
   hugo/trunk/src/test/preflow_graph.inp
      - copied unchanged from r1142, /hugo/trunk/src/test/preflow_graph
Removed:
   hugo/trunk/src/test/preflow_graph
Modified:
   hugo/trunk/src/test/Makefile.am
   hugo/trunk/src/test/preflow_test.cc

Log:
'make distcheck' works again\!

Modified: hugo/trunk/src/test/Makefile.am
==============================================================================
--- hugo/trunk/src/test/Makefile.am	(original)
+++ hugo/trunk/src/test/Makefile.am	Tue Sep 14 10:16:14 2004
@@ -1,6 +1,8 @@
 AM_CPPFLAGS = -I$(top_srcdir)/src
 
-dist_noinst_DATA = preflow_graph
+#dist_noinst_DATA = preflow_graph
+EXTRA_DIST = preflow_graph.inp
+CLEANFILES = preflow_graph.out
 
 noinst_HEADERS = test_tools.h graph_test.h
 
@@ -21,6 +23,9 @@
 	unionfind_test \
 	xy_test
 
+SUFFIXES = .inp .out
+.inp.out:
+	-cp $< $@
 
 TESTS = $(check_PROGRAMS)
 XFAIL_TESTS = test_tools_fail
@@ -35,6 +40,7 @@
 minlengthpaths_test_SOURCES = minlengthpaths_test.cc
 path_test_SOURCES = path_test.cc
 preflow_test_SOURCES = preflow_test.cc
+preflow_test_DEPENDENCIES = preflow_graph.out
 time_measure_test_SOURCES = time_measure_test.cc
 test_tools_fail_SOURCES = test_tools_fail.cc
 test_tools_pass_SOURCES = test_tools_pass.cc

Modified: hugo/trunk/src/test/preflow_test.cc
==============================================================================
--- hugo/trunk/src/test/preflow_test.cc	(original)
+++ hugo/trunk/src/test/preflow_test.cc	Tue Sep 14 10:16:14 2004
@@ -66,7 +66,7 @@
 
   typedef Preflow<Graph, int> PType;
 
-  std::ifstream file("preflow_graph");
+  std::ifstream file("preflow_graph.out");
   
   Graph G;
   Node s, t;



More information about the Lemon-commits mailing list