Skip to content

Commit 0014555

Browse files
committed
contrib/intel/jenkins: Add build_hw to ze_shm
Add build HW to tell ze_shm where to find pre-built code Signed-off-by: Zach Dworkin <zachary.dworkin@intel.com>
1 parent 66c2ccd commit 0014555

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

contrib/intel/jenkins/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ pipeline {
705705
dir (RUN_LOCATION) {
706706
def providers = [["shm", null]]
707707
def directions = ["h2d", "d2d", "xd2d"]
708-
def base_cmd = "python3.9 runtests.py --device=ze"
708+
def base_cmd = "python3.9 runtests.py --device=ze --build_hw=gpu"
709709
def prefix = "${env.LOG_DIR}/ze_v3_"
710710
def suffix = "_reg"
711711
for (prov in providers) {

contrib/intel/jenkins/run.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ def multinodetest(hw, core, hosts, mode, user_env, log_file, util):
9595
.format(runmultinodetest.testname))
9696
print("-------------------------------------------------------------------")
9797

98-
def ze_fabtests(core, hosts, mode, way, user_env, log_file, util):
98+
def ze_fabtests(hw, core, hosts, mode, way, user_env, log_file, util):
9999

100-
runzefabtests = tests.ZeFabtests(jobname=jbname,buildno=bno,
101-
testname="ze test", core_prov=core,
100+
runzefabtests = tests.ZeFabtests(jobname=jbname, buildno=bno,
101+
testname="ze test", core_prov=core, hw=hw,
102102
fabric=fab, hosts=hosts,
103103
ofi_build_mode=mode, user_env=user_env,
104104
log_file=log_file, util_prov=util)

contrib/intel/jenkins/runtests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def __call__(self, parser, namespace, values, option_string=None):
154154
run.dmabuftests(build_hw, args_core, hosts, ofi_build_mode,
155155
user_env, log_file, args_util)
156156
else:
157-
run.ze_fabtests(args_core, hosts, ofi_build_mode, way, user_env, log_file,
158-
args_util)
157+
run.ze_fabtests(build_hw, args_core, hosts, ofi_build_mode, way,
158+
user_env, log_file, args_util)
159159
else:
160160
print("Error : Specify a core provider to run tests")

contrib/intel/jenkins/tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ def execute_cmd(self):
355355
os.chdir(curdir)
356356

357357
class ZeFabtests(Test):
358-
def __init__(self, jobname, buildno, testname, core_prov, fabric,
358+
def __init__(self, jobname, buildno, testname, core_prov, hw, fabric,
359359
hosts, ofi_build_mode, user_env, log_file, util_prov=None):
360360

361-
super().__init__(jobname, buildno, testname, core_prov, fabric,
361+
super().__init__(jobname, buildno, testname, hw, core_prov, fabric,
362362
hosts, ofi_build_mode, user_env, log_file, None, util_prov)
363363

364364
self.fabtestpath = f'{self.libfab_installpath}/bin'

0 commit comments

Comments
 (0)