Revision: 14652
Author: adrian.chadd
Date: Thu May 13 02:29:57 2010
Log: More ATF related additions:
* Add in an Atffile which is fed to atf-run to run the test case suite
* Add in "make check" to run atf-run appropriately
http://code.google.com/p/lusca-cache/source/detail?r=14652
Added:
/branches/LUSCA_HEAD/test-suite/atf/Atffile
Modified:
/branches/LUSCA_HEAD/test-suite/atf/Makefile
/branches/LUSCA_HEAD/test-suite/atf/Makefile.inc
=======================================
--- /dev/null
+++ /branches/LUSCA_HEAD/test-suite/atf/Atffile Thu May 13 02:29:57 2010
@@ -0,0 +1,5 @@
+Content-Type: application/X-atf-atffile; version="1"
+
+prop: test-suite = lusca
+
+tp: libhttp
=======================================
--- /branches/LUSCA_HEAD/test-suite/atf/Makefile Wed May 12 19:35:23 2010
+++ /branches/LUSCA_HEAD/test-suite/atf/Makefile Thu May 13 02:29:57 2010
@@ -51,6 +51,9 @@
libhttp: libhttp.o core.o
$(CC) core.o libhttp.o -o libhttp $(LDFLAGS)
+check: libhttp
+ @env PATH=$$PATH:$(ATF_BINDIR) $(ATF_BINDIR)/atf-run
+
clean:
rm -f libhttp *.o
=======================================
--- /branches/LUSCA_HEAD/test-suite/atf/Makefile.inc Wed May 12 19:35:23
2010
+++ /branches/LUSCA_HEAD/test-suite/atf/Makefile.inc Thu May 13 02:29:57
2010
@@ -1,2 +1,3 @@
ATF_INCLUDEDIR=/usr/local/atf-0.8/include
ATF_LIBDIR=/usr/local/atf-0.8/lib
+ATF_BINDIR=/usr/local/atf-0.8/bin
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.