[Freeciv-Dev] (PR#8588) a tests/ subdirectory
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8588 >
We discussed the idea of a tests/ subdirectory to include various tests
to be run when "make check" is called.
This patch adds the directory. This should be all the work outside of
the tests/ directory that is needed for this. After we create the
directory, we can add files and modify Makefile.am to compile them when
check is compiled.
Apply the tests.diff patch, mkdir tests/ and the copy the two files into
it. Be careful not to "cvs add tests" (until you're ready) since this
is instantaneous and irreversible.
jason
? tests
Index: Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/Makefile.am,v
retrieving revision 1.36
diff -u -r1.36 Makefile.am
--- Makefile.am 19 Apr 2004 17:24:16 -0000 1.36
+++ Makefile.am 25 Apr 2004 17:01:11 -0000
@@ -19,7 +19,7 @@
endif
-SUBDIRS= $(DSUBDIRS) intl common $(SSUBDIRS) $(CSUBDIRS) po doc
+SUBDIRS= $(DSUBDIRS) intl common tests $(SSUBDIRS) $(CSUBDIRS) po doc
EXTRA_DIST= acconfig.old \
autogen.sh \
Index: configure.ac
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.ac,v
retrieving revision 1.61
diff -u -r1.61 configure.ac
--- configure.ac 19 Apr 2004 17:24:16 -0000 1.61
+++ configure.ac 25 Apr 2004 17:01:11 -0000
@@ -685,6 +685,7 @@
common/Makefile
common/aicore/Makefile
ai/Makefile
+ tests/Makefile
client/Makefile
client/agents/Makefile
client/include/Makefile
Index: configure.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.in,v
retrieving revision 1.237
diff -u -r1.237 configure.in
--- configure.in 20 Apr 2004 17:26:13 -0000 1.237
+++ configure.in 25 Apr 2004 17:01:11 -0000
@@ -671,6 +671,7 @@
common/Makefile
common/aicore/Makefile
ai/Makefile
+ tests/Makefile
client/Makefile
client/agents/Makefile
client/include/Makefile
## Process this file with automake to produce Makefile.in
SUBDIRS = .
Makefile
Makefile.in
.deps
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#8588) a tests/ subdirectory,
Jason Short <=
|
|