From 478cf3d0ee0089ff8e0bcf6e9ddfbbffb2d9e57c Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Tue, 1 Dec 2020 12:01:26 +0100 Subject: [PATCH] [CI] Remove duplicate make invocations @dimakuv: > This is an artifact from the old Jenkins, maybe we should fix this > now. Here, we ask to build and prepare all tests (make .. test and > make .. sgx-tokens). But below, in each test directory, we perform the > same actions again. That's why I even had to add a bogus make clean && > make all to the LibOS/shim/test/regression case. > > Let's finally remove this duplication. Basically, we'll need to move > RA_CLIENT_SPID in this target and only keep make regression/make test > in the other targets. --- .ci/lib/stage-test.jenkinsfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/.ci/lib/stage-test.jenkinsfile b/.ci/lib/stage-test.jenkinsfile index c00c7afd..acdc651e 100644 --- a/.ci/lib/stage-test.jenkinsfile +++ b/.ci/lib/stage-test.jenkinsfile @@ -1,9 +1,7 @@ stage('test') { sh ''' - make ${MAKEOPTS} test if test -n "$SGX" then - make ${MAKEOPTS} sgx-tokens make ${MAKEOPTS} -C Pal/src/host/Linux-SGX/tools install \ PREFIX=../../../../../../LibOS/shim/test/fs fi @@ -29,7 +27,6 @@ stage('test') { try { sh ''' cd LibOS/shim/test/regression - make clean # re-build with ra_client_spid set make ${MAKEOPTS} RA_CLIENT_SPID=${ra_client_spid} all if test -n "$SGX" then