diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index 83d44fb1c..8649475dd 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -146,7 +146,7 @@ uninstall: | |||
146 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg | 146 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firecfg |
147 | 147 | ||
148 | DISTFILES = "src etc platform configure configure.ac Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh mkuid.sh COPYING README RELNOTES" | 148 | DISTFILES = "src etc platform configure configure.ac Makefile.in install.sh mkman.sh mketc.sh mkdeb.sh mkuid.sh COPYING README RELNOTES" |
149 | 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" | 149 | 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" |
150 | 150 | ||
151 | dist: | 151 | dist: |
152 | mv config.status config.status.old | 152 | mv config.status config.status.old |
@@ -232,26 +232,34 @@ test-arguments: | |||
232 | test-fs: | 232 | test-fs: |
233 | cd test/fs; ./fs.sh | grep TESTING | 233 | cd test/fs; ./fs.sh | grep TESTING |
234 | 234 | ||
235 | test-appimage: | 235 | test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters test-arguments |
236 | cd test/appimage; ./appimage.sh | grep TESTING | ||
237 | |||
238 | test: test-profiles test-fs test-utils test-environment test-appimage test-apps test-apps-x11 test-apps-x11-xorg test-filters test-arguments | ||
239 | echo "TEST COMPLETE" | 236 | echo "TEST COMPLETE" |
240 | 237 | ||
241 | # | 238 | ########################################## |
242 | # individual tests, some of them requiring root access | 239 | # Individual tests, some of them require root access |
243 | # | 240 | # The tests are very intrussive, by the time you are done |
241 | # with them you will need to restart your computer. | ||
242 | ########################################## | ||
244 | 243 | ||
245 | # root access, network devices are created before the test | 244 | # Huge appimage files, not included in "make dist" archive |
245 | test-appimage: | ||
246 | cd test/appimage; ./appimage.sh | grep TESTING | ||
247 | |||
248 | # Root access, network devices are created before the test | ||
249 | # restart your computer to get rid of these devices | ||
246 | test-network: | 250 | test-network: |
247 | cd test/network; ./network.sh | grep TESTING | 251 | cd test/network; ./network.sh | grep TESTING |
248 | 252 | ||
249 | # all the tests are run as root | 253 | # Tesets running a root user |
250 | test-root: | 254 | test-root: |
251 | cd test/root; su -c ./root.sh | grep TESTING | 255 | cd test/root; su -c ./root.sh | grep TESTING |
252 | 256 | ||
253 | # runs as regular user | 257 | # OverlayFS is not available on all platforms |
254 | test-overlay: | 258 | test-overlay: |
255 | cd test/overlay; ./overlay.sh | grep TESTING | 259 | cd test/overlay; ./overlay.sh | grep TESTING |
256 | 260 | ||
257 | # mount -o remount,rw,hidepid=2 /proc | 261 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" |
262 | |||
263 | test-all: test-root test-network test-appimage test-overlay test | ||
264 | echo "TEST COMPLETE" | ||
265 | \ No newline at end of file | ||