diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -314,7 +314,7 @@ mkman.sh \ | |||
314 | platform \ | 314 | platform \ |
315 | src | 315 | src |
316 | 316 | ||
317 | DISTFILES_TEST = test/Makefile test/apps test/apps-x11 test/apps-x11-xorg test/root test/private-lib test/fnetfilter test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/fs test/sysutils test/chroot | 317 | DISTFILES_TEST = test/Makefile test/apps test/apps-x11 test/apps-x11-xorg test/private-lib test/fnetfilter test/fcopy test/environment test/profiles test/utils test/compile test/filters test/network test/fs test/sysutils |
318 | 318 | ||
319 | .PHONY: dist | 319 | .PHONY: dist |
320 | dist: config.mk | 320 | dist: config.mk |
@@ -372,7 +372,7 @@ $(TEST_TARGETS): | |||
372 | 372 | ||
373 | 373 | ||
374 | # extract some data about the testing setup: kernel, network connectivity, user | 374 | # extract some data about the testing setup: kernel, network connectivity, user |
375 | lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc | 375 | lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc |
376 | 376 | ||
377 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 377 | test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-etc test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
378 | echo "TEST COMPLETE" | 378 | echo "TEST COMPLETE" |
@@ -380,6 +380,14 @@ test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-private-et | |||
380 | test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 380 | test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
381 | echo "TEST COMPLETE" | 381 | echo "TEST COMPLETE" |
382 | 382 | ||
383 | # not included in "make dist" and "make test" | ||
384 | test-appimage: | ||
385 | $(MAKE) -C test $(subst test-,,$@) | ||
386 | |||
387 | # not included in "make dist" and "make test" | ||
388 | test-chroot: | ||
389 | $(MAKE) -C test $(subst test-,,$@) | ||
390 | |||
383 | # old gihub test; the new test is driven directly from .github/workflows/build.yml | 391 | # old gihub test; the new test is driven directly from .github/workflows/build.yml |
384 | test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment | 392 | test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment |
385 | echo "TEST COMPLETE" | 393 | echo "TEST COMPLETE" |
@@ -393,21 +401,9 @@ test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-uti | |||
393 | test-private-lib: | 401 | test-private-lib: |
394 | $(MAKE) -C test $(subst test-,,$@) | 402 | $(MAKE) -C test $(subst test-,,$@) |
395 | 403 | ||
396 | # requires root access | ||
397 | test-chroot: | ||
398 | $(MAKE) -C test $(subst test-,,$@) | ||
399 | |||
400 | # Huge appimage files, not included in "make dist" archive | ||
401 | test-appimage: | ||
402 | $(MAKE) -C test $(subst test-,,$@) | ||
403 | |||
404 | # Root access, network devices are created before the test | 404 | # Root access, network devices are created before the test |
405 | # restart your computer to get rid of these devices | 405 | # restart your computer to get rid of these devices |
406 | test-network: | 406 | test-network: |
407 | $(MAKE) -C test $(subst test-,,$@) | 407 | $(MAKE) -C test $(subst test-,,$@) |
408 | 408 | ||
409 | # OverlayFS is not available on all platforms | ||
410 | test-overlay: | ||
411 | $(MAKE) -C test $(subst test-,,$@) | ||
412 | |||
413 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" | 409 | # For testing hidepid system, the command to set it up is "mount -o remount,rw,hidepid=2 /proc" |