@@ -80,8 +80,8 @@ test-like-ci config=default-target hypervisor="kvm":
8080 @ # with default features
8181 just test {{ config}} {{ if hypervisor == " mshv" {" mshv2" } else {" " } }}
8282
83- @ # with only one driver enabled + seccomp + build-metadata + init-paging
84- just test {{ config}} seccomp, build-metadata,init-paging,{{ if hypervisor == " mshv" {" mshv2" } else if hypervisor == " mshv3" {" mshv3" } else {" kvm" } }}
83+ @ # with only one driver enabled + build-metadata + init-paging
84+ just test {{ config}} build-metadata,init-paging,{{ if hypervisor == " mshv" {" mshv2" } else if hypervisor == " mshv3" {" mshv3" } else {" kvm" } }}
8585
8686 @ # make sure certain cargo features compile
8787 just check
@@ -145,7 +145,7 @@ like-ci config=default-target hypervisor="kvm":
145145 {{ if config == " release" { " just bench-ci main " + if hypervisor == " mshv" { " mshv2" } else if hypervisor == " mshv3" { " mshv3" } else { " kvm" } } else { " " } }}
146146
147147# runs all tests
148- test target = default-target features = " ": (test-unit target features) (test-isolated target features) (test-integration " rust" target features) (test-integration " c" target features) (test-seccomp target features) ( test- doc target features)
148+ test target = default-target features = " ": (test-unit target features) (test-isolated target features) (test-integration " rust" target features) (test-integration " c" target features) (test-doc target features)
149149
150150# runs unit tests
151151test-unit target = default-target features = " ":
@@ -170,12 +170,6 @@ test-integration guest target=default-target features="":
170170 @ # run the rest of the integration tests
171171 {{ if os () == " windows" { " $env:" } else { " " } }} GUEST=" {{ guest}} "{{ if os () == " windows" { " ;" } else { " " } }} {{ cargo-cmd }} test -p hyperlight-host {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F init-paging," + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} --test ' *'
172172
173- # runs seccomp tests
174- test-seccomp target = default-target features = " ":
175- @ # run seccomp test with feature "seccomp" on and off
176- {{ cargo-cmd }} test --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host test_violate_seccomp_filters --lib {{ if features == " " {' ' } else { " --features " + features } }} -- --ignored
177- {{ cargo-cmd }} test --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host test_violate_seccomp_filters --no-default-features {{ if features =~ " mshv2" {" --features init-paging,mshv2" } else {" --features mshv3,init-paging,kvm" } }} --lib -- --ignored
178-
179173# tests compilation with no default features on different platforms
180174test-compilation-no-default-features target = default-target :
181175 @ # Linux should fail without a hypervisor feature (kvm, mshv, or mshv3)
0 commit comments