]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Build certificates when make-testing is called
authorTobias Brunner <tobias@strongswan.org>
Tue, 22 Sep 2020 15:31:45 +0000 (17:31 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 30 Sep 2020 10:52:43 +0000 (12:52 +0200)
testing/make-testing
testing/testing.conf

index 84ac20bf2f2bea626df536dbb35d139638ee2d6a..f110f46a65788136783394f8628529ab9bd51b15 100755 (executable)
@@ -21,7 +21,12 @@ then
        $DIR/scripts/build-guestkernel || exit 1
 fi
 
-if [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
+if [ $ENABLE_BUILD_CERTIFICATES = "yes" ]
 then
-       $DIR/scripts/build-guestimages $HOSTS || exit 1
+       # this always builds the guest images too
+       $DIR/scripts/build-certs || exit 1
+
+elif [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
+then
+       $DIR/scripts/build-guestimages || exit 1
 fi
index 195d878fd388d7ed3052783cf4e531f71fe57944..1369c930f6fcb632c9f3d3ceb868ac5877724c87 100644 (file)
@@ -76,11 +76,12 @@ fi
 : ${TESTRESULTSDIR=$TESTDIR/testresults}
 
 ##############################################################
-# Enable particular steps in the make-testing
+# Enable particular steps in the make-testing script
 #
 : ${ENABLE_BUILD_BASEIMAGE=yes}
 : ${ENABLE_BUILD_ROOTIMAGE=yes}
 : ${ENABLE_BUILD_GUESTKERNEL=yes}
+: ${ENABLE_BUILD_CERTIFICATES=yes}
 : ${ENABLE_BUILD_GUESTIMAGES=yes}
 
 ##############################################################