@@ -34,8 +34,8 @@ test: $(target)
$(RM) fs-test.xml
$(MAKE) fs-test.xml
-fs-test.xml:
- python3 -m pytest --junit-xml $@ -v test_fs.py
+fs-test.xml: test_fs.py $(call expand_target_to_token,$(target))
+ python3 -m pytest --junit-xml $@ -v $<
.PHONY: clean-tmp
clean-tmp:
@@ -48,8 +48,8 @@ regression: $(target)
$(RM) libos-regression.xml
$(MAKE) libos-regression.xml
-libos-regression.xml:
- python3 -m pytest --junit-xml $@ -v test_libos.py
+libos-regression.xml: test_libos.py $(call expand_target_to_token,$(target))
@@ -108,7 +108,7 @@ regression:
$(MAKE) pal-regression.xml
pal-regression.xml: test_pal.py $(call expand_target_to_token,$(target))
- python3 -m pytest --junit-xml $@ -v test_pal.py
.PHONY: clean
clean: