aboutgitcodelistschat:MatrixIRC
path: root/Makefile
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2022-12-21 15:22:37 +0100
committerAlice Frosi <afrosi@redhat.com>2023-02-15 11:31:46 +0100
commita5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e (patch)
treef18d38b812a7c263a35d18c22c983019af0374c3 /Makefile
parentb47cde4553f31b033cd3d096552c0a5646cdc88d (diff)
downloadseitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar.gz
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar.bz2
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar.lz
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar.xz
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.tar.zst
seitan-a5ab34509d8a52c37ab6c9c5d5f3501b61bd8d0e.zip
integration: create integration tests
Create initial pytest suite for testing seitan and seitan-eater setup. The test suite includes: - 'test_simple' verifies the basic functionalities and the synchronization between seitan and the eater - 'test_restart_seitan' verifies when steitan needs to restart Seitan and eater are deployed in a container to control the environment where they run. Signed-off-by: Alice Frosi <afrosi@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4a1b444..526e407 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,15 @@ numbers.h:
test-unit:
$(MAKE) -C tests/unit
+build-test-images: build seitan seitan-eater
+ $(MAKE) -C tests-utils
+ ./build test.bpf
+ sudo podman build -t test-seitan -f containerfiles/tests/seitan/Containerfile .
+ sudo podman build -t test-eater -f containerfiles/tests/eater/Containerfile .
+
+test-integration:
+ python -m pytest tests/integration/seitan_containers.py
+
transform.h: qemu_filter
./transform.sh qemu_filter