From dcd4c1ab9c34d230773960ea39f2944fb1b59b13 Mon Sep 17 00:00:00 2001 From: Jakob Kaiser <jakob.kaiser@kip.uni-heidelberg.de> Date: Mon, 22 Apr 2024 18:25:16 +0000 Subject: [PATCH] chore: wscript rename 'DLSvx_HARDWARE_AVAILABLE' to 'BBS_HARDWARE_AVAILABLE' Change-Id: I51a1bf04e2166a2dfbb2b489dbeb0d54baf0cab1 --- pyhxcomm/wscript | 4 ++-- wscript | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyhxcomm/wscript b/pyhxcomm/wscript index 2476b24..04616f4 100644 --- a/pyhxcomm/wscript +++ b/pyhxcomm/wscript @@ -34,7 +34,7 @@ def configure(cfg): def build(bld): - bld.env.DLSvx_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ + bld.env.BBS_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ pyhxcomm_defines = [ @@ -88,7 +88,7 @@ def build(bld): pythonpath=['tests'], pylint_config=join(get_toplevel_path(), "code-format", "pylintrc"), pycodestyle_config=join(get_toplevel_path(), "code-format", "pycodestyle"), - skip_run=not (bld.env.DLSvx_SIM_AVAILABLE or bld.env.DLSvx_HARDWARE_AVAILABLE), + skip_run=not (bld.env.DLSvx_SIM_AVAILABLE or bld.env.BBS_HARDWARE_AVAILABLE), test_timeout=120, ) diff --git a/wscript b/wscript index 5889814..d26fed0 100644 --- a/wscript +++ b/wscript @@ -153,7 +153,7 @@ def build_loopbackconnection_test(bld): def build(bld): - bld.env.DLSvx_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ + bld.env.BBS_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ use_munge = ["MUNGE"] if bld.env.build_with_munge else [] @@ -259,7 +259,7 @@ def build(bld): target = 'hxcomm_backendtest', features = 'gtest cxx cxxprogram', source = bld.path.ant_glob('tests/hw/hxcomm/test-*.cpp'), - skip_run = not (bld.env.DLSvx_HARDWARE_AVAILABLE or bld.env.DLSvx_SIM_AVAILABLE), + skip_run = not (bld.env.BBS_HARDWARE_AVAILABLE or bld.env.DLSvx_SIM_AVAILABLE), test_main = 'tests/common/src/main.cpp', use = ['hxcomm', 'hxcomm_tests_helper', 'BOOST4HXCOMMTOOLS'], test_timeout = 120, -- GitLab