From 63e16bfcd9f79c63f3801f51df4840f74fa6f41b Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 13 Nov 2016 10:47:20 -0500 Subject: major cleanup and testing --- Makefile.in | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 83d44fb1c..8649475dd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -146,7 +146,7 @@ uninstall: rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg DISTFILES = "src etc platform configure configure.ac Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh mkuid.sh COPYING README RELNOTES" -DISTFILES_TEST = "test/apps test/apps-x11 test/apps-x11-xorg test/appimage test/root test/environment test/profiles test/utils test/compile test/filters test/network test/arguments test/fs test/sysutils" +DISTFILES_TEST = "test/apps test/apps-x11 test/apps-x11-xorg test/root test/environment test/profiles test/utils test/compile test/filters test/network test/arguments test/fs test/sysutils" dist: mv config.status config.status.old @@ -232,26 +232,34 @@ test-arguments: test-fs: cd test/fs; ./fs.sh | grep TESTING -test-appimage: - cd test/appimage; ./appimage.sh | grep TESTING - -test: test-profiles test-fs test-utils test-environment test-appimage test-apps test-apps-x11 test-apps-x11-xorg test-filters test-arguments +test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters test-arguments echo "TEST COMPLETE" -# -# individual tests, some of them requiring root access -# +########################################## +# Individual tests, some of them require root access +# The tests are very intrussive, by the time you are done +# with them you will need to restart your computer. +########################################## -# root access, network devices are created before the test +# Huge appimage files, not included in "make dist" archive +test-appimage: + cd test/appimage; ./appimage.sh | grep TESTING + +# Root access, network devices are created before the test +# restart your computer to get rid of these devices test-network: cd test/network; ./network.sh | grep TESTING -# all the tests are run as root +# Tesets running a root user test-root: cd test/root; su -c ./root.sh | grep TESTING -# runs as regular user +# OverlayFS is not available on all platforms test-overlay: cd test/overlay; ./overlay.sh | grep TESTING -# mount -o remount,rw,hidepid=2 /proc +# For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" + +test-all: test-root test-network test-appimage test-overlay test + echo "TEST COMPLETE" + \ No newline at end of file -- cgit v1.2.3-54-g00ecf