aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-01 08:52:53 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-01 08:52:53 -0500
commitb50812ff5ef5009b7c6babb19fd9caa315f31515 (patch)
tree0535438678837dffb9ba5ba988efa482d53c1fc3 /Makefile
parentchroot testing (diff)
downloadfirejail-b50812ff5ef5009b7c6babb19fd9caa315f31515.tar.gz
firejail-b50812ff5ef5009b7c6babb19fd9caa315f31515.tar.zst
firejail-b50812ff5ef5009b7c6babb19fd9caa315f31515.zip
appimage testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 6814e8ddf..dbe084a2e 100644
--- a/Makefile
+++ b/Makefile
@@ -314,7 +314,7 @@ mkman.sh \
314platform \ 314platform \
315src 315src
316 316
317DISTFILES_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 317DISTFILES_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
320dist: config.mk 320dist: 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
375lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc 375lab-setup:; uname -r; ldd --version | grep GLIBC; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ls /etc
376 376
377test: 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 377test: 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
380test-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 380test-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"
384test-appimage:
385 $(MAKE) -C test $(subst test-,,$@)
386
387# not included in "make dist" and "make test"
388test-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
384test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment 392test-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
393test-private-lib: 401test-private-lib:
394 $(MAKE) -C test $(subst test-,,$@) 402 $(MAKE) -C test $(subst test-,,$@)
395 403
396# requires root access
397test-chroot:
398 $(MAKE) -C test $(subst test-,,$@)
399
400# Huge appimage files, not included in "make dist" archive
401test-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
406test-network: 406test-network:
407 $(MAKE) -C test $(subst test-,,$@) 407 $(MAKE) -C test $(subst test-,,$@)
408 408
409# OverlayFS is not available on all platforms
410test-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"