summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-03-13 15:16:20 +0100
committerJan Safranek <jsafrane@redhat.com>2009-03-26 09:36:41 +0100
commit07ff50e0856fecd937fb6a5ce87871f19f20f004 (patch)
treed35b0a391af1bc48d0b9ec7e9cd7f138a2126f58 /tests
parentb64a3c84e46550df4455ef4e46ec5d3b36486d65 (diff)
downloadlibcg-07ff50e0856fecd937fb6a5ce87871f19f20f004.tar.gz
libcg-07ff50e0856fecd937fb6a5ce87871f19f20f004.tar.xz
libcg-07ff50e0856fecd937fb6a5ce87871f19f20f004.zip
Add automake makefiles
Add automake makefiles and prepare everything to run, but don't actually run the automake - it would generate lot of noise, where my manual changes would get lots. Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644
index 0000000..3927621
--- /dev/null
+++ b/tests/Makefile.am
@@ -0,0 +1,15 @@
+INCLUDES = -I$(top_srcdir)/include
+LDADD = $(top_srcdir)/src/.libs/libcgroup.la
+
+# compile the tests, but do not install them
+noinst_PROGRAMS = libcgrouptest01 libcg_ba setuid pathtest walk_test
+
+libcgrouptest01_SOURCES=libcgrouptest01.c test_functions.c libcgrouptest.h
+libcg_ba_SOURCES=libcg_ba.cpp
+setuid_SOURCES=setuid.c
+pathtest_SOURCES=pathtest.c
+walk_test_SOURCES=walk_test.c
+
+EXTRA_DIST = pathtest.sh runlibcgrouptest.sh
+
+TESTS = runlibcgrouptest.sh