From db551e5de02a46517f40f2320b85ae65a877fe6b Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Jul 2022 17:28:59 +1000 Subject: tests: Introduce makefile for building test assets A number of passt/pasta testcases have initial steps which are just about building images or other assets we need for the test proper. Repeating these for each test run can be quite costly. This patch makes a start on moving this sort of test asset building to a separate phase before running the tests proper. For now just add a Makefile to handle the asset building (although it doesn't build anything yet), and make the path where we'll be building the assets available to the tests. Signed-off-by: David Gibson --- test/lib/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib/test') diff --git a/test/lib/test b/test/lib/test index 09e8340..96dab2b 100755 --- a/test/lib/test +++ b/test/lib/test @@ -393,7 +393,7 @@ test_one() { [ ${CI} -eq 1 ] && video_link "${1}" - TEST_ONE_subs= + TEST_ONE_subs="$(list_add_pair "" "__BASEPATH__" "${BASEPATH}")" TEST_ONE_nok=-1 TEST_ONE_perf_nok=0 TEST_ONE_skip=0 -- cgit v1.2.3