Add a script to run the non-containerized tests and
invoke it from `make check`.

Signed-off-by: Tom Hromatka <tom.hroma...@oracle.com>
---
 ftests/Makefile.am           | 6 +++---
 ftests/ftests-nocontainer.sh | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)
 create mode 100755 ftests/ftests-nocontainer.sh

diff --git a/ftests/Makefile.am b/ftests/Makefile.am
index 52cf79203534..5a367e5bfabd 100644
--- a/ftests/Makefile.am
+++ b/ftests/Makefile.am
@@ -1,7 +1,7 @@
 #
 # libcgroup functional tests Makefile.am
 #
-# Copyright (c) 2019-2020 Oracle and/or its affiliates.
+# Copyright (c) 2019-2021 Oracle and/or its affiliates.
 # Author: Tom Hromatka <tom.hroma...@oracle.com>
 #
 
@@ -19,9 +19,9 @@
 # along with this library; if not, see <http://www.gnu.org/licenses>.
 #
 
-TESTS = ftests.sh
+TESTS = ftests.sh ftests-nocontainer.sh
 
-EXTRA_DIST = *.py README.md default.conf ftests.sh
+EXTRA_DIST = *.py README.md default.conf ftests.sh ftests-nocontainer.sh
 
 clean-local: clean-local-check
 .PHONY: clean-local-check
diff --git a/ftests/ftests-nocontainer.sh b/ftests/ftests-nocontainer.sh
new file mode 100755
index 000000000000..70d27e163f3f
--- /dev/null
+++ b/ftests/ftests-nocontainer.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./ftests.py -l 10 -L ftests-nocontainer.log --no-container
-- 
2.26.2



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to