From 8b48222b0079d8dbaa52a8e6a62a38fcc7f7c620 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 3 Jun 2026 00:15:38 +0000 Subject: [PATCH 01/18] Initial version --- README.rst | 2 +- docs/nirfsg/status.inc | 2 +- generated/nirfsg/README.rst | 2 +- src/nirfsg/metadata/config_addon.py | 2 +- src/nirfsg/system_tests/test_system_nirfsg.py | 16 ++++++---------- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/README.rst b/README.rst index e4794e17d..fd603edab 100644 --- a/README.rst +++ b/README.rst @@ -298,7 +298,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2025 Q4 Patch 1 | +| Driver Version Tested Against | 2026 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/docs/nirfsg/status.inc b/docs/nirfsg/status.inc index 2b17adcc9..cbd5396be 100644 --- a/docs/nirfsg/status.inc +++ b/docs/nirfsg/status.inc @@ -5,7 +5,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2025 Q4 Patch 1 | +| Driver Version Tested Against | 2026 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/generated/nirfsg/README.rst b/generated/nirfsg/README.rst index bd7e18966..2cf921c6b 100644 --- a/generated/nirfsg/README.rst +++ b/generated/nirfsg/README.rst @@ -55,7 +55,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2025 Q4 Patch 1 | +| Driver Version Tested Against | 2026 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/src/nirfsg/metadata/config_addon.py b/src/nirfsg/metadata/config_addon.py index 7e22e5a5d..af525d9f4 100644 --- a/src/nirfsg/metadata/config_addon.py +++ b/src/nirfsg/metadata/config_addon.py @@ -2,7 +2,7 @@ config_additional_config = { 'module_version': '1.1.1.dev0', 'development_status': '4 - Beta', - 'latest_runtime_version_tested_against': '2025 Q4 Patch 1', + 'latest_runtime_version_tested_against': '2026 Q2', 'initial_release_year': '2025', 'custom_types': [ ] diff --git a/src/nirfsg/system_tests/test_system_nirfsg.py b/src/nirfsg/system_tests/test_system_nirfsg.py index 21c32c3ba..3fbc79d74 100644 --- a/src/nirfsg/system_tests/test_system_nirfsg.py +++ b/src/nirfsg/system_tests/test_system_nirfsg.py @@ -644,16 +644,6 @@ def test_get_all_script_names(self, rfsg_device_session): assert 'myScript1' in script_names assert 'myScript2' in script_names - -class TestLibrary(SystemTests): - @pytest.fixture(scope='class') - def session_creation_kwargs(self): - return {} - - # grpc-device had a bug in get_all_named_waveform_names - # (https://github.com/ni/grpc-device/pull/1243), which is now merged. - # This test is temporarily kept in TestLibrary until the pipeline uses a - # grpc-device version that includes this fix def test_get_all_named_waveform_names(self, rfsg_device_session): rfsg_device_session.generation_mode = nirfsg.GenerationMode.ARB_WAVEFORM waveform_data1 = np.full(1000, 1 + 0j, dtype=np.complex128) @@ -665,6 +655,12 @@ def test_get_all_named_waveform_names(self, rfsg_device_session): assert 'waveform2' in names +class TestLibrary(SystemTests): + @pytest.fixture(scope='class') + def session_creation_kwargs(self): + return {} + + @pytest.mark.skipif(sys.maxsize < 2**32, reason="gRPC tests not supported on 32-bit Python") class TestGrpc(SystemTests): @pytest.fixture(scope='class') From fd4a6dae3d7b85544514de6a7d06fe2027f95f41 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 3 Jun 2026 02:36:32 +0000 Subject: [PATCH 02/18] Updating rhel environment --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index a5230a68e..9c1170568 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -26,7 +26,7 @@ jobs: - self-hosted - linux - x64 - - rdss-nimibot-rhel-83-py64 + - rdss-nimibot-rhel-96-py64 timeout-minutes: 40 strategy: matrix: From bac7a215d901a997d4860bbf513b80dc52273ce6 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Mon, 8 Jun 2026 07:06:14 +0000 Subject: [PATCH 03/18] Keeping only rhel upgrade --- README.rst | 2 +- docs/nirfsg/status.inc | 2 +- generated/nirfsg/README.rst | 2 +- src/nirfsg/metadata/config_addon.py | 2 +- src/nirfsg/system_tests/test_system_nirfsg.py | 16 ++++++++++------ 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index fd603edab..e4794e17d 100644 --- a/README.rst +++ b/README.rst @@ -298,7 +298,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2026 Q2 | +| Driver Version Tested Against | 2025 Q4 Patch 1 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/docs/nirfsg/status.inc b/docs/nirfsg/status.inc index cbd5396be..2b17adcc9 100644 --- a/docs/nirfsg/status.inc +++ b/docs/nirfsg/status.inc @@ -5,7 +5,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2026 Q2 | +| Driver Version Tested Against | 2025 Q4 Patch 1 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/generated/nirfsg/README.rst b/generated/nirfsg/README.rst index 2cf921c6b..bd7e18966 100644 --- a/generated/nirfsg/README.rst +++ b/generated/nirfsg/README.rst @@ -55,7 +55,7 @@ NI-RFSG Python API Status +-------------------------------+-----------------------+ | NI-RFSG (nirfsg) | | +===============================+=======================+ -| Driver Version Tested Against | 2026 Q2 | +| Driver Version Tested Against | 2025 Q4 Patch 1 | +-------------------------------+-----------------------+ | PyPI Version | |nirfsgLatestVersion| | +-------------------------------+-----------------------+ diff --git a/src/nirfsg/metadata/config_addon.py b/src/nirfsg/metadata/config_addon.py index af525d9f4..7e22e5a5d 100644 --- a/src/nirfsg/metadata/config_addon.py +++ b/src/nirfsg/metadata/config_addon.py @@ -2,7 +2,7 @@ config_additional_config = { 'module_version': '1.1.1.dev0', 'development_status': '4 - Beta', - 'latest_runtime_version_tested_against': '2026 Q2', + 'latest_runtime_version_tested_against': '2025 Q4 Patch 1', 'initial_release_year': '2025', 'custom_types': [ ] diff --git a/src/nirfsg/system_tests/test_system_nirfsg.py b/src/nirfsg/system_tests/test_system_nirfsg.py index 3fbc79d74..21c32c3ba 100644 --- a/src/nirfsg/system_tests/test_system_nirfsg.py +++ b/src/nirfsg/system_tests/test_system_nirfsg.py @@ -644,6 +644,16 @@ def test_get_all_script_names(self, rfsg_device_session): assert 'myScript1' in script_names assert 'myScript2' in script_names + +class TestLibrary(SystemTests): + @pytest.fixture(scope='class') + def session_creation_kwargs(self): + return {} + + # grpc-device had a bug in get_all_named_waveform_names + # (https://github.com/ni/grpc-device/pull/1243), which is now merged. + # This test is temporarily kept in TestLibrary until the pipeline uses a + # grpc-device version that includes this fix def test_get_all_named_waveform_names(self, rfsg_device_session): rfsg_device_session.generation_mode = nirfsg.GenerationMode.ARB_WAVEFORM waveform_data1 = np.full(1000, 1 + 0j, dtype=np.complex128) @@ -655,12 +665,6 @@ def test_get_all_named_waveform_names(self, rfsg_device_session): assert 'waveform2' in names -class TestLibrary(SystemTests): - @pytest.fixture(scope='class') - def session_creation_kwargs(self): - return {} - - @pytest.mark.skipif(sys.maxsize < 2**32, reason="gRPC tests not supported on 32-bit Python") class TestGrpc(SystemTests): @pytest.fixture(scope='class') From 17f2176bc6d7ed28879abf3d1101ce0eac9fd86f Mon Sep 17 00:00:00 2001 From: Rahul R Date: Tue, 9 Jun 2026 07:52:53 +0000 Subject: [PATCH 04/18] Testing --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 9c1170568..780959e91 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -22,7 +22,7 @@ jobs: do-the-job1: name: system_test if: github.repository == 'ni/nimi-python' - runs-on: + runs-on: - self-hosted - linux - x64 From 761eee2a863a4987cfb11f8e9799f5c4130db6af Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 10 Jun 2026 16:46:50 +0000 Subject: [PATCH 05/18] Testing to trigger build --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 780959e91..9c32cc753 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: From cb47ca8e121b6de03afa9c2f0664cf68478b61b4 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Thu, 11 Jun 2026 20:57:16 +0000 Subject: [PATCH 06/18] Triggerring pipeline --- .github/workflows/github_actions_aws_rhel_python64.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 9c32cc753..9c1170568 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,13 +16,13 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: name: system_test if: github.repository == 'ni/nimi-python' - runs-on: + runs-on: - self-hosted - linux - x64 From 7f7f88409d0d652c193dc7791cdf6081f2571594 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Fri, 12 Jun 2026 01:34:14 +0000 Subject: [PATCH 07/18] Trigger of build --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 9c1170568..b3ffbbc87 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: From 3f6884130537b1f72c5168c427ce17e4405a9f5e Mon Sep 17 00:00:00 2001 From: Rahul R Date: Fri, 12 Jun 2026 11:39:09 +0000 Subject: [PATCH 08/18] Trigger build --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index b3ffbbc87..9c1170568 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: From eeb7dc509f5f279c2cbe3fcf395760f9338f6edb Mon Sep 17 00:00:00 2001 From: Rahul R Date: Mon, 15 Jun 2026 23:17:17 +0000 Subject: [PATCH 09/18] Build trigger --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 9c1170568..b3ffbbc87 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: From 10707ea989aec5f6cd5d5749eced17bcd1769e87 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Tue, 16 Jun 2026 00:47:00 +0000 Subject: [PATCH 10/18] Retrigger build --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index b3ffbbc87..9c1170568 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: From 21c5847f47e648ac9ffe210187032260ce6b1ebb Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 17 Jun 2026 10:38:20 +0000 Subject: [PATCH 11/18] List simulated devices present for debugging. --- build/templates/tox-system_tests.ini.mako | 1 + generated/nidcpower/tox-system_tests.ini | 1 + generated/nidigital/tox-system_tests.ini | 1 + generated/nidmm/tox-system_tests.ini | 1 + generated/nifake/tox-system_tests.ini | 1 + generated/nifgen/tox-system_tests.ini | 1 + generated/nimodinst/tox-system_tests.ini | 1 + generated/nirfsg/tox-system_tests.ini | 1 + generated/niscope/tox-system_tests.ini | 1 + generated/nise/tox-system_tests.ini | 1 + generated/niswitch/tox-system_tests.ini | 1 + generated/nitclk/tox-system_tests.ini | 1 + 12 files changed, 12 insertions(+) diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index 3f2aa0cb7..07ddc1942 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -60,6 +60,7 @@ commands = ${module_name}-system_tests: python ../../tools/install_local_wheel.py --driver ${other_wheel} --start-path ../.. % endif ${module_name}-system_tests: python -c "import ${module_name}; ${module_name}.print_diagnostic_information()" + ${module_name}-system_tests: lsni -v ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/examples --junitxml=../junit/junit-${module_name}-{envname}-examples-{env:BITNESS:64}.xml {posargs} ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-${module_name}-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index 47ec3a93a..66c35ad2c 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -22,6 +22,7 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidcpower-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidcpower-system_tests: python -c "import nidcpower; nidcpower.print_diagnostic_information()" + nidcpower-system_tests: lsni -v nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/examples --junitxml=../junit/junit-nidcpower-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidcpower-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 9b6f91b47..27925b79e 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = nidigital-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidigital-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nidigital-system_tests: python -c "import nidigital; nidigital.print_diagnostic_information()" + nidigital-system_tests: lsni -v nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/examples --junitxml=../junit/junit-nidigital-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidigital-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index 834c3f2ec..15935bca5 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -22,6 +22,7 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidmm-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidmm-system_tests: python -c "import nidmm; nidmm.print_diagnostic_information()" + nidmm-system_tests: lsni -v nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/examples --junitxml=../junit/junit-nidmm-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidmm-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index b575b61a3..eb8b87dd5 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = nifake-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifake-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifake-system_tests: python -c "import nifake; nifake.print_diagnostic_information()" + nifake-system_tests: lsni -v nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/examples --junitxml=../junit/junit-nifake-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifake-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index 78198bf6b..739309949 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = nifgen-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifgen-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifgen-system_tests: python -c "import nifgen; nifgen.print_diagnostic_information()" + nifgen-system_tests: lsni -v nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/examples --junitxml=../junit/junit-nifgen-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifgen-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index 02aedd7a0..4c6d12cfe 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -22,6 +22,7 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nimodinst-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nimodinst-system_tests: python -c "import nimodinst; nimodinst.print_diagnostic_information()" + nimodinst-system_tests: lsni -v nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/examples --junitxml=../junit/junit-nimodinst-{envname}-examples-{env:BITNESS:64}.xml {posargs} nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nimodinst-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nirfsg/tox-system_tests.ini b/generated/nirfsg/tox-system_tests.ini index f6a4e6b11..15c4af60d 100644 --- a/generated/nirfsg/tox-system_tests.ini +++ b/generated/nirfsg/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = nirfsg-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nirfsg-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nirfsg-system_tests: python -c "import nirfsg; nirfsg.print_diagnostic_information()" + nirfsg-system_tests: lsni -v nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/examples --junitxml=../junit/junit-nirfsg-{envname}-examples-{env:BITNESS:64}.xml {posargs} nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nirfsg-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index 6a4697f30..e46738865 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = niscope-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niscope-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. niscope-system_tests: python -c "import niscope; niscope.print_diagnostic_information()" + niscope-system_tests: lsni -v niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/examples --junitxml=../junit/junit-niscope-{envname}-examples-{env:BITNESS:64}.xml {posargs} niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niscope-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index 71a03441e..c937ccc33 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -22,6 +22,7 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nise-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nise-system_tests: python -c "import nise; nise.print_diagnostic_information()" + nise-system_tests: lsni -v nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/examples --junitxml=../junit/junit-nise-{envname}-examples-{env:BITNESS:64}.xml {posargs} nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nise-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index 1b91d3845..397ecde54 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -22,6 +22,7 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now niswitch-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niswitch-system_tests: python -c "import niswitch; niswitch.print_diagnostic_information()" + niswitch-system_tests: lsni -v niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/examples --junitxml=../junit/junit-niswitch-{envname}-examples-{env:BITNESS:64}.xml {posargs} niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niswitch-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index de0c1f037..3dd1742c8 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -27,6 +27,7 @@ commands = nitclk-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nitclk-system_tests: python ../../tools/install_local_wheel.py --driver niscope --start-path ../.. nitclk-system_tests: python -c "import nitclk; nitclk.print_diagnostic_information()" + nitclk-system_tests: lsni -v nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/examples --junitxml=../junit/junit-nitclk-{envname}-examples-{env:BITNESS:64}.xml {posargs} nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nitclk-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} From b7748c1b0edfb768c5268a8e121c66a2d09161e8 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 17 Jun 2026 11:00:51 +0000 Subject: [PATCH 12/18] Include lsni as allowlist_externals --- build/templates/tox-system_tests.ini.mako | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index 07ddc1942..2defeb5c0 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -42,6 +42,9 @@ description = ${module_name}-system_tests: Run ${module_name} system tests (requires ${driver_name} runtime to be installed) ${module_name}-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = % if uses_other_wheel: ${wheel_env_no_py}: ../${other_wheel} From 6fd2e2ee3f6d5ff0f6d1f8329dd266f6460db752 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 17 Jun 2026 11:06:52 +0000 Subject: [PATCH 13/18] Include lsni as allowlist_externals in generated files as well --- generated/nidcpower/tox-system_tests.ini | 3 +++ generated/nidigital/tox-system_tests.ini | 3 +++ generated/nidmm/tox-system_tests.ini | 3 +++ generated/nifake/tox-system_tests.ini | 3 +++ generated/nifgen/tox-system_tests.ini | 3 +++ generated/nimodinst/tox-system_tests.ini | 3 +++ generated/nirfsg/tox-system_tests.ini | 3 +++ generated/niscope/tox-system_tests.ini | 3 +++ generated/nise/tox-system_tests.ini | 3 +++ generated/niswitch/tox-system_tests.ini | 3 +++ generated/nitclk/tox-system_tests.ini | 3 +++ 11 files changed, 33 insertions(+) diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index 66c35ad2c..bdd7f3063 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -14,6 +14,9 @@ description = nidcpower-system_tests: Run nidcpower system tests (requires NI-DCPower runtime to be installed) nidcpower-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nidcpower-system_tests: . nidcpower-coverage: . diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 27925b79e..3583285ea 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -15,6 +15,9 @@ description = nidigital-system_tests: Run nidigital system tests (requires NI-Digital Pattern Driver runtime to be installed) nidigital-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nidigital-wheel_dep: ../nitclk nidigital-system_tests: . diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index 15935bca5..f933be09f 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -14,6 +14,9 @@ description = nidmm-system_tests: Run nidmm system tests (requires NI-DMM runtime to be installed) nidmm-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nidmm-system_tests: . nidmm-coverage: . diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index eb8b87dd5..e8a43b5d1 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -15,6 +15,9 @@ description = nifake-system_tests: Run nifake system tests (requires NI-FAKE runtime to be installed) nifake-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nifake-wheel_dep: ../nitclk nifake-system_tests: . diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index 739309949..b9ed91736 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -15,6 +15,9 @@ description = nifgen-system_tests: Run nifgen system tests (requires NI-FGEN runtime to be installed) nifgen-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nifgen-wheel_dep: ../nitclk nifgen-system_tests: . diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index 4c6d12cfe..6a807e841 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -14,6 +14,9 @@ description = nimodinst-system_tests: Run nimodinst system tests (requires NI-ModInst runtime to be installed) nimodinst-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nimodinst-system_tests: . nimodinst-coverage: . diff --git a/generated/nirfsg/tox-system_tests.ini b/generated/nirfsg/tox-system_tests.ini index 15c4af60d..507be1efd 100644 --- a/generated/nirfsg/tox-system_tests.ini +++ b/generated/nirfsg/tox-system_tests.ini @@ -15,6 +15,9 @@ description = nirfsg-system_tests: Run nirfsg system tests (requires NI-RFSG runtime to be installed) nirfsg-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nirfsg-wheel_dep: ../nitclk nirfsg-system_tests: . diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index e46738865..24355afe9 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -15,6 +15,9 @@ description = niscope-system_tests: Run niscope system tests (requires NI-SCOPE runtime to be installed) niscope-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = niscope-wheel_dep: ../nitclk niscope-system_tests: . diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index c937ccc33..c07455444 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -14,6 +14,9 @@ description = nise-system_tests: Run nise system tests (requires NI Switch Executive runtime to be installed) nise-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nise-system_tests: . nise-coverage: . diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index 397ecde54..4e977ef77 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -14,6 +14,9 @@ description = niswitch-system_tests: Run niswitch system tests (requires NI-SWITCH runtime to be installed) niswitch-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = niswitch-system_tests: . niswitch-coverage: . diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index 3dd1742c8..10b920bce 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -15,6 +15,9 @@ description = nitclk-system_tests: Run nitclk system tests (requires NI-TClk runtime to be installed) nitclk-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions +allowlist_externals = + lsni + changedir = nitclk-wheel_dep: ../niscope nitclk-system_tests: . From e3c209d4d6739138a81426c54534cc0b69f4303d Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 17 Jun 2026 11:37:24 +0000 Subject: [PATCH 14/18] Including further logs --- build/templates/tox-system_tests.ini.mako | 5 ++++- generated/nidcpower/tox-system_tests.ini | 5 ++++- generated/nidigital/tox-system_tests.ini | 5 ++++- generated/nidmm/tox-system_tests.ini | 5 ++++- generated/nifake/tox-system_tests.ini | 5 ++++- generated/nifgen/tox-system_tests.ini | 5 ++++- generated/nimodinst/tox-system_tests.ini | 5 ++++- generated/nirfsg/tox-system_tests.ini | 5 ++++- generated/niscope/tox-system_tests.ini | 5 ++++- generated/nise/tox-system_tests.ini | 5 ++++- generated/niswitch/tox-system_tests.ini | 5 ++++- generated/nitclk/tox-system_tests.ini | 5 ++++- 12 files changed, 48 insertions(+), 12 deletions(-) diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index 2defeb5c0..29851e994 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -63,7 +63,10 @@ commands = ${module_name}-system_tests: python ../../tools/install_local_wheel.py --driver ${other_wheel} --start-path ../.. % endif ${module_name}-system_tests: python -c "import ${module_name}; ${module_name}.print_diagnostic_information()" - ${module_name}-system_tests: lsni -v + ${module_name}-system_tests: lsni -u -v + ${module_name}-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + ${module_name}-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + ${module_name}-system_tests: lsni -u -v ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/examples --junitxml=../junit/junit-${module_name}-{envname}-examples-{env:BITNESS:64}.xml {posargs} ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-${module_name}-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index bdd7f3063..dde7fe75c 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -25,7 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidcpower-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidcpower-system_tests: python -c "import nidcpower; nidcpower.print_diagnostic_information()" - nidcpower-system_tests: lsni -v + nidcpower-system_tests: lsni -u -v + nidcpower-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nidcpower-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nidcpower-system_tests: lsni -u -v nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/examples --junitxml=../junit/junit-nidcpower-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidcpower-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 3583285ea..070641f07 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = nidigital-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidigital-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nidigital-system_tests: python -c "import nidigital; nidigital.print_diagnostic_information()" - nidigital-system_tests: lsni -v + nidigital-system_tests: lsni -u -v + nidigital-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nidigital-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nidigital-system_tests: lsni -u -v nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/examples --junitxml=../junit/junit-nidigital-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidigital-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index f933be09f..ec8105d81 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -25,7 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidmm-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidmm-system_tests: python -c "import nidmm; nidmm.print_diagnostic_information()" - nidmm-system_tests: lsni -v + nidmm-system_tests: lsni -u -v + nidmm-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nidmm-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nidmm-system_tests: lsni -u -v nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/examples --junitxml=../junit/junit-nidmm-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidmm-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index e8a43b5d1..04d5ed577 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = nifake-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifake-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifake-system_tests: python -c "import nifake; nifake.print_diagnostic_information()" - nifake-system_tests: lsni -v + nifake-system_tests: lsni -u -v + nifake-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nifake-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nifake-system_tests: lsni -u -v nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/examples --junitxml=../junit/junit-nifake-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifake-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index b9ed91736..d72058703 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = nifgen-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifgen-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifgen-system_tests: python -c "import nifgen; nifgen.print_diagnostic_information()" - nifgen-system_tests: lsni -v + nifgen-system_tests: lsni -u -v + nifgen-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nifgen-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nifgen-system_tests: lsni -u -v nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/examples --junitxml=../junit/junit-nifgen-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifgen-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index 6a807e841..121e0ffa4 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -25,7 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nimodinst-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nimodinst-system_tests: python -c "import nimodinst; nimodinst.print_diagnostic_information()" - nimodinst-system_tests: lsni -v + nimodinst-system_tests: lsni -u -v + nimodinst-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nimodinst-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nimodinst-system_tests: lsni -u -v nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/examples --junitxml=../junit/junit-nimodinst-{envname}-examples-{env:BITNESS:64}.xml {posargs} nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nimodinst-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nirfsg/tox-system_tests.ini b/generated/nirfsg/tox-system_tests.ini index 507be1efd..0feff81b7 100644 --- a/generated/nirfsg/tox-system_tests.ini +++ b/generated/nirfsg/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = nirfsg-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nirfsg-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nirfsg-system_tests: python -c "import nirfsg; nirfsg.print_diagnostic_information()" - nirfsg-system_tests: lsni -v + nirfsg-system_tests: lsni -u -v + nirfsg-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nirfsg-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nirfsg-system_tests: lsni -u -v nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/examples --junitxml=../junit/junit-nirfsg-{envname}-examples-{env:BITNESS:64}.xml {posargs} nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nirfsg-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index 24355afe9..aa930f4c8 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = niscope-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niscope-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. niscope-system_tests: python -c "import niscope; niscope.print_diagnostic_information()" - niscope-system_tests: lsni -v + niscope-system_tests: lsni -u -v + niscope-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + niscope-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + niscope-system_tests: lsni -u -v niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/examples --junitxml=../junit/junit-niscope-{envname}-examples-{env:BITNESS:64}.xml {posargs} niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niscope-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index c07455444..33ea568ec 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -25,7 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nise-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nise-system_tests: python -c "import nise; nise.print_diagnostic_information()" - nise-system_tests: lsni -v + nise-system_tests: lsni -u -v + nise-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nise-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nise-system_tests: lsni -u -v nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/examples --junitxml=../junit/junit-nise-{envname}-examples-{env:BITNESS:64}.xml {posargs} nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nise-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index 4e977ef77..b5ac02771 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -25,7 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now niswitch-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niswitch-system_tests: python -c "import niswitch; niswitch.print_diagnostic_information()" - niswitch-system_tests: lsni -v + niswitch-system_tests: lsni -u -v + niswitch-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + niswitch-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + niswitch-system_tests: lsni -u -v niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/examples --junitxml=../junit/junit-niswitch-{envname}-examples-{env:BITNESS:64}.xml {posargs} niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niswitch-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index 10b920bce..9f0f033de 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -30,7 +30,10 @@ commands = nitclk-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nitclk-system_tests: python ../../tools/install_local_wheel.py --driver niscope --start-path ../.. nitclk-system_tests: python -c "import nitclk; nitclk.print_diagnostic_information()" - nitclk-system_tests: lsni -v + nitclk-system_tests: lsni -u -v + nitclk-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" + nitclk-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" + nitclk-system_tests: lsni -u -v nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/examples --junitxml=../junit/junit-nitclk-{envname}-examples-{env:BITNESS:64}.xml {posargs} nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nitclk-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} From 4e7b77dc7a42189300ba87c44dcfa5c1024e3a27 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Wed, 17 Jun 2026 12:07:33 +0000 Subject: [PATCH 15/18] Use PATH-based nisimdev --- build/templates/tox-system_tests.ini.mako | 8 ++++---- generated/nidcpower/tox-system_tests.ini | 8 ++++---- generated/nidigital/tox-system_tests.ini | 8 ++++---- generated/nidmm/tox-system_tests.ini | 8 ++++---- generated/nifake/tox-system_tests.ini | 8 ++++---- generated/nifgen/tox-system_tests.ini | 8 ++++---- generated/nimodinst/tox-system_tests.ini | 8 ++++---- generated/nirfsg/tox-system_tests.ini | 8 ++++---- generated/niscope/tox-system_tests.ini | 8 ++++---- generated/nise/tox-system_tests.ini | 8 ++++---- generated/niswitch/tox-system_tests.ini | 8 ++++---- generated/nitclk/tox-system_tests.ini | 8 ++++---- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index 29851e994..2f6bc8ddf 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -63,10 +63,10 @@ commands = ${module_name}-system_tests: python ../../tools/install_local_wheel.py --driver ${other_wheel} --start-path ../.. % endif ${module_name}-system_tests: python -c "import ${module_name}; ${module_name}.print_diagnostic_information()" - ${module_name}-system_tests: lsni -u -v - ${module_name}-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - ${module_name}-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - ${module_name}-system_tests: lsni -u -v + ${module_name}-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + ${module_name}-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + ${module_name}-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + ${module_name}-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/examples --junitxml=../junit/junit-${module_name}-{envname}-examples-{env:BITNESS:64}.xml {posargs} ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-${module_name}-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index dde7fe75c..68ea19d0d 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -25,10 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidcpower-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidcpower-system_tests: python -c "import nidcpower; nidcpower.print_diagnostic_information()" - nidcpower-system_tests: lsni -u -v - nidcpower-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nidcpower-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nidcpower-system_tests: lsni -u -v + nidcpower-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nidcpower-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nidcpower-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nidcpower-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/examples --junitxml=../junit/junit-nidcpower-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidcpower-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 070641f07..8057ce29c 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = nidigital-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidigital-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nidigital-system_tests: python -c "import nidigital; nidigital.print_diagnostic_information()" - nidigital-system_tests: lsni -u -v - nidigital-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nidigital-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nidigital-system_tests: lsni -u -v + nidigital-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nidigital-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nidigital-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nidigital-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/examples --junitxml=../junit/junit-nidigital-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidigital-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index ec8105d81..e87c6d733 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -25,10 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidmm-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidmm-system_tests: python -c "import nidmm; nidmm.print_diagnostic_information()" - nidmm-system_tests: lsni -u -v - nidmm-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nidmm-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nidmm-system_tests: lsni -u -v + nidmm-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nidmm-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nidmm-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nidmm-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/examples --junitxml=../junit/junit-nidmm-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidmm-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index 04d5ed577..5fde31fd0 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = nifake-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifake-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifake-system_tests: python -c "import nifake; nifake.print_diagnostic_information()" - nifake-system_tests: lsni -u -v - nifake-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nifake-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nifake-system_tests: lsni -u -v + nifake-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nifake-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nifake-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nifake-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/examples --junitxml=../junit/junit-nifake-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifake-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index d72058703..ec02788a5 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = nifgen-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifgen-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifgen-system_tests: python -c "import nifgen; nifgen.print_diagnostic_information()" - nifgen-system_tests: lsni -u -v - nifgen-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nifgen-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nifgen-system_tests: lsni -u -v + nifgen-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nifgen-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nifgen-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nifgen-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/examples --junitxml=../junit/junit-nifgen-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifgen-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index 121e0ffa4..3f0e6653e 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -25,10 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nimodinst-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nimodinst-system_tests: python -c "import nimodinst; nimodinst.print_diagnostic_information()" - nimodinst-system_tests: lsni -u -v - nimodinst-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nimodinst-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nimodinst-system_tests: lsni -u -v + nimodinst-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nimodinst-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nimodinst-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nimodinst-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/examples --junitxml=../junit/junit-nimodinst-{envname}-examples-{env:BITNESS:64}.xml {posargs} nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nimodinst-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nirfsg/tox-system_tests.ini b/generated/nirfsg/tox-system_tests.ini index 0feff81b7..a04e63a71 100644 --- a/generated/nirfsg/tox-system_tests.ini +++ b/generated/nirfsg/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = nirfsg-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nirfsg-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nirfsg-system_tests: python -c "import nirfsg; nirfsg.print_diagnostic_information()" - nirfsg-system_tests: lsni -u -v - nirfsg-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nirfsg-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nirfsg-system_tests: lsni -u -v + nirfsg-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nirfsg-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nirfsg-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nirfsg-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/examples --junitxml=../junit/junit-nirfsg-{envname}-examples-{env:BITNESS:64}.xml {posargs} nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nirfsg-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index aa930f4c8..b66d8eed3 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = niscope-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niscope-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. niscope-system_tests: python -c "import niscope; niscope.print_diagnostic_information()" - niscope-system_tests: lsni -u -v - niscope-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - niscope-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - niscope-system_tests: lsni -u -v + niscope-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + niscope-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + niscope-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + niscope-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/examples --junitxml=../junit/junit-niscope-{envname}-examples-{env:BITNESS:64}.xml {posargs} niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niscope-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index 33ea568ec..e31b1f183 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -25,10 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nise-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nise-system_tests: python -c "import nise; nise.print_diagnostic_information()" - nise-system_tests: lsni -u -v - nise-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nise-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nise-system_tests: lsni -u -v + nise-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nise-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nise-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nise-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/examples --junitxml=../junit/junit-nise-{envname}-examples-{env:BITNESS:64}.xml {posargs} nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nise-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index b5ac02771..f1e64fd9b 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -25,10 +25,10 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now niswitch-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niswitch-system_tests: python -c "import niswitch; niswitch.print_diagnostic_information()" - niswitch-system_tests: lsni -u -v - niswitch-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - niswitch-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - niswitch-system_tests: lsni -u -v + niswitch-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + niswitch-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + niswitch-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + niswitch-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/examples --junitxml=../junit/junit-niswitch-{envname}-examples-{env:BITNESS:64}.xml {posargs} niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niswitch-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index 9f0f033de..439f78e95 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -30,10 +30,10 @@ commands = nitclk-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nitclk-system_tests: python ../../tools/install_local_wheel.py --driver niscope --start-path ../.. nitclk-system_tests: python -c "import nitclk; nitclk.print_diagnostic_information()" - nitclk-system_tests: lsni -u -v - nitclk-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5124" -l "PXI1" -s 2 -a "5124" - nitclk-system_tests: ./nisimdev create -S true -V "National Instruments" -M "NI PXI-5142" -l "PXI1" -s 3 -a "5142" - nitclk-system_tests: lsni -u -v + nitclk-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" + nitclk-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" + nitclk-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" + nitclk-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/examples --junitxml=../junit/junit-nitclk-{envname}-examples-{env:BITNESS:64}.xml {posargs} nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nitclk-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} From 253c8cbc7b9a92042f0e108c5492e543d3b949bb Mon Sep 17 00:00:00 2001 From: Rahul R Date: Thu, 18 Jun 2026 00:58:00 +0000 Subject: [PATCH 16/18] Testing niscope failure --- .../system_tests/test_system_niscope.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/niscope/system_tests/test_system_niscope.py b/src/niscope/system_tests/test_system_niscope.py index 60702465e..5ea4e8f2f 100644 --- a/src/niscope/system_tests/test_system_niscope.py +++ b/src/niscope/system_tests/test_system_niscope.py @@ -90,14 +90,24 @@ def multi_instrument_session_5171(self, session_creation_kwargs): # High channe @pytest.fixture(scope='function') def session_5124(self, session_creation_kwargs): with daqmx_sim_5124_lock: - with niscope.Session('5124', False, False, '', **session_creation_kwargs) as simulated_session: # 5124 is needed for video triggering - yield simulated_session + try: + with niscope.Session('5124', False, False, '', **session_creation_kwargs) as simulated_session: # 5124 is needed for video triggering + yield simulated_session + except niscope.Error as e: + if 'Invalid Identifier' in str(e): + pytest.skip('Skipping: simulated NI PXI-5124 is not available in this environment.') + raise @pytest.fixture(scope='function') def session_5142(self, session_creation_kwargs): with daqmx_sim_5142_lock: - with niscope.Session('5142', False, False, '', **session_creation_kwargs) as simulated_session: # 5142 is needed for OSP - yield simulated_session + try: + with niscope.Session('5142', False, False, '', **session_creation_kwargs) as simulated_session: # 5142 is needed for OSP + yield simulated_session + except niscope.Error as e: + if 'Invalid Identifier' in str(e): + pytest.skip('Skipping: simulated NI PXI-5142 is not available in this environment.') + raise # Attribute tests def test_vi_boolean_attribute(self, multi_instrument_session): From 7d554e1b9b1f795538ac2585bfbc53bdcb4a5923 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Thu, 18 Jun 2026 01:20:42 +0000 Subject: [PATCH 17/18] Clean up of PR. --- build/templates/tox-system_tests.ini.mako | 7 ------- generated/nidcpower/tox-system_tests.ini | 7 ------- generated/nidigital/tox-system_tests.ini | 7 ------- generated/nidmm/tox-system_tests.ini | 7 ------- generated/nifake/tox-system_tests.ini | 7 ------- generated/nifgen/tox-system_tests.ini | 7 ------- generated/nimodinst/tox-system_tests.ini | 7 ------- generated/nirfsg/tox-system_tests.ini | 7 ------- generated/niscope/tox-system_tests.ini | 7 ------- generated/nise/tox-system_tests.ini | 7 ------- generated/niswitch/tox-system_tests.ini | 7 ------- generated/nitclk/tox-system_tests.ini | 7 ------- .../system_tests/test_system_niscope.py | 18 ++++-------------- 13 files changed, 4 insertions(+), 98 deletions(-) diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index 2f6bc8ddf..3f2aa0cb7 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -42,9 +42,6 @@ description = ${module_name}-system_tests: Run ${module_name} system tests (requires ${driver_name} runtime to be installed) ${module_name}-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = % if uses_other_wheel: ${wheel_env_no_py}: ../${other_wheel} @@ -63,10 +60,6 @@ commands = ${module_name}-system_tests: python ../../tools/install_local_wheel.py --driver ${other_wheel} --start-path ../.. % endif ${module_name}-system_tests: python -c "import ${module_name}; ${module_name}.print_diagnostic_information()" - ${module_name}-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - ${module_name}-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - ${module_name}-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - ${module_name}-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/examples --junitxml=../junit/junit-${module_name}-{envname}-examples-{env:BITNESS:64}.xml {posargs} ${module_name}-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source ${module_name} --parallel-mode -m pytest ../../src/${module_name}/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-${module_name}-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index 68ea19d0d..47ec3a93a 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -14,9 +14,6 @@ description = nidcpower-system_tests: Run nidcpower system tests (requires NI-DCPower runtime to be installed) nidcpower-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nidcpower-system_tests: . nidcpower-coverage: . @@ -25,10 +22,6 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidcpower-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidcpower-system_tests: python -c "import nidcpower; nidcpower.print_diagnostic_information()" - nidcpower-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nidcpower-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nidcpower-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nidcpower-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/examples --junitxml=../junit/junit-nidcpower-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidcpower-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidcpower --parallel-mode -m pytest ../../src/nidcpower/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidcpower-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 8057ce29c..9b6f91b47 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -15,9 +15,6 @@ description = nidigital-system_tests: Run nidigital system tests (requires NI-Digital Pattern Driver runtime to be installed) nidigital-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nidigital-wheel_dep: ../nitclk nidigital-system_tests: . @@ -30,10 +27,6 @@ commands = nidigital-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidigital-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nidigital-system_tests: python -c "import nidigital; nidigital.print_diagnostic_information()" - nidigital-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nidigital-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nidigital-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nidigital-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/examples --junitxml=../junit/junit-nidigital-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidigital-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidigital --parallel-mode -m pytest ../../src/nidigital/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidigital-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index e87c6d733..834c3f2ec 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -14,9 +14,6 @@ description = nidmm-system_tests: Run nidmm system tests (requires NI-DMM runtime to be installed) nidmm-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nidmm-system_tests: . nidmm-coverage: . @@ -25,10 +22,6 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nidmm-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nidmm-system_tests: python -c "import nidmm; nidmm.print_diagnostic_information()" - nidmm-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nidmm-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nidmm-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nidmm-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/examples --junitxml=../junit/junit-nidmm-{envname}-examples-{env:BITNESS:64}.xml {posargs} nidmm-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nidmm --parallel-mode -m pytest ../../src/nidmm/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nidmm-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index 5fde31fd0..b575b61a3 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -15,9 +15,6 @@ description = nifake-system_tests: Run nifake system tests (requires NI-FAKE runtime to be installed) nifake-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nifake-wheel_dep: ../nitclk nifake-system_tests: . @@ -30,10 +27,6 @@ commands = nifake-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifake-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifake-system_tests: python -c "import nifake; nifake.print_diagnostic_information()" - nifake-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nifake-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nifake-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nifake-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/examples --junitxml=../junit/junit-nifake-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifake-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifake --parallel-mode -m pytest ../../src/nifake/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifake-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index ec02788a5..78198bf6b 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -15,9 +15,6 @@ description = nifgen-system_tests: Run nifgen system tests (requires NI-FGEN runtime to be installed) nifgen-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nifgen-wheel_dep: ../nitclk nifgen-system_tests: . @@ -30,10 +27,6 @@ commands = nifgen-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nifgen-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nifgen-system_tests: python -c "import nifgen; nifgen.print_diagnostic_information()" - nifgen-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nifgen-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nifgen-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nifgen-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/examples --junitxml=../junit/junit-nifgen-{envname}-examples-{env:BITNESS:64}.xml {posargs} nifgen-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nifgen --parallel-mode -m pytest ../../src/nifgen/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nifgen-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index 3f0e6653e..02aedd7a0 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -14,9 +14,6 @@ description = nimodinst-system_tests: Run nimodinst system tests (requires NI-ModInst runtime to be installed) nimodinst-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nimodinst-system_tests: . nimodinst-coverage: . @@ -25,10 +22,6 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nimodinst-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nimodinst-system_tests: python -c "import nimodinst; nimodinst.print_diagnostic_information()" - nimodinst-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nimodinst-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nimodinst-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nimodinst-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/examples --junitxml=../junit/junit-nimodinst-{envname}-examples-{env:BITNESS:64}.xml {posargs} nimodinst-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nimodinst --parallel-mode -m pytest ../../src/nimodinst/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nimodinst-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nirfsg/tox-system_tests.ini b/generated/nirfsg/tox-system_tests.ini index a04e63a71..f6a4e6b11 100644 --- a/generated/nirfsg/tox-system_tests.ini +++ b/generated/nirfsg/tox-system_tests.ini @@ -15,9 +15,6 @@ description = nirfsg-system_tests: Run nirfsg system tests (requires NI-RFSG runtime to be installed) nirfsg-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nirfsg-wheel_dep: ../nitclk nirfsg-system_tests: . @@ -30,10 +27,6 @@ commands = nirfsg-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nirfsg-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. nirfsg-system_tests: python -c "import nirfsg; nirfsg.print_diagnostic_information()" - nirfsg-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nirfsg-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nirfsg-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nirfsg-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/examples --junitxml=../junit/junit-nirfsg-{envname}-examples-{env:BITNESS:64}.xml {posargs} nirfsg-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nirfsg --parallel-mode -m pytest ../../src/nirfsg/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nirfsg-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index b66d8eed3..6a4697f30 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -15,9 +15,6 @@ description = niscope-system_tests: Run niscope system tests (requires NI-SCOPE runtime to be installed) niscope-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = niscope-wheel_dep: ../nitclk niscope-system_tests: . @@ -30,10 +27,6 @@ commands = niscope-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niscope-system_tests: python ../../tools/install_local_wheel.py --driver nitclk --start-path ../.. niscope-system_tests: python -c "import niscope; niscope.print_diagnostic_information()" - niscope-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - niscope-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - niscope-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - niscope-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/examples --junitxml=../junit/junit-niscope-{envname}-examples-{env:BITNESS:64}.xml {posargs} niscope-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niscope --parallel-mode -m pytest ../../src/niscope/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niscope-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index e31b1f183..71a03441e 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -14,9 +14,6 @@ description = nise-system_tests: Run nise system tests (requires NI Switch Executive runtime to be installed) nise-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nise-system_tests: . nise-coverage: . @@ -25,10 +22,6 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now nise-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nise-system_tests: python -c "import nise; nise.print_diagnostic_information()" - nise-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nise-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nise-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nise-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/examples --junitxml=../junit/junit-nise-{envname}-examples-{env:BITNESS:64}.xml {posargs} nise-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nise --parallel-mode -m pytest ../../src/nise/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nise-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index f1e64fd9b..1b91d3845 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -14,9 +14,6 @@ description = niswitch-system_tests: Run niswitch system tests (requires NI-SWITCH runtime to be installed) niswitch-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = niswitch-system_tests: . niswitch-coverage: . @@ -25,10 +22,6 @@ commands = # --disable-pip-version-check prevents pip from telling us we need to upgrade pip, since we are doing that now niswitch-system_tests: python -m pip install --disable-pip-version-check --upgrade pip niswitch-system_tests: python -c "import niswitch; niswitch.print_diagnostic_information()" - niswitch-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - niswitch-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - niswitch-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - niswitch-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/examples --junitxml=../junit/junit-niswitch-{envname}-examples-{env:BITNESS:64}.xml {posargs} niswitch-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source niswitch --parallel-mode -m pytest ../../src/niswitch/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-niswitch-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index 439f78e95..de0c1f037 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -15,9 +15,6 @@ description = nitclk-system_tests: Run nitclk system tests (requires NI-TClk runtime to be installed) nitclk-coverage: Prepare coverage report for upload to codecov.io # upload handled by GitHub Actions -allowlist_externals = - lsni - changedir = nitclk-wheel_dep: ../niscope nitclk-system_tests: . @@ -30,10 +27,6 @@ commands = nitclk-system_tests: python -m pip install --disable-pip-version-check --upgrade pip nitclk-system_tests: python ../../tools/install_local_wheel.py --driver niscope --start-path ../.. nitclk-system_tests: python -c "import nitclk; nitclk.print_diagnostic_information()" - nitclk-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" - nitclk-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5124', '-l', 'PXI1', '-s', '2', '-a', '5124'], check=False) if nisimdev else None" - nitclk-system_tests: python -c "import shutil, subprocess; nisimdev = shutil.which('nisimdev'); subprocess.run([nisimdev, 'create', '-S', 'true', '-V', 'National Instruments', '-M', 'NI PXI-5142', '-l', 'PXI1', '-s', '3', '-a', '5142'], check=False) if nisimdev else None" - nitclk-system_tests: python -c "import sys, shutil, subprocess; lsni = shutil.which('lsni'); subprocess.run([lsni, '-u', '-v'], check=False) if (sys.platform != 'win32' and lsni) else None" nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/examples --junitxml=../junit/junit-nitclk-{envname}-examples-{env:BITNESS:64}.xml {posargs} nitclk-system_tests: coverage run --rcfile=../../tools/coverage_system_tests.rc --source nitclk --parallel-mode -m pytest ../../src/nitclk/system_tests -c tox-system_tests.ini --junitxml=../junit/junit-nitclk-{envname}-{env:BITNESS:64}.xml --durations=5 {posargs} diff --git a/src/niscope/system_tests/test_system_niscope.py b/src/niscope/system_tests/test_system_niscope.py index 5ea4e8f2f..60702465e 100644 --- a/src/niscope/system_tests/test_system_niscope.py +++ b/src/niscope/system_tests/test_system_niscope.py @@ -90,24 +90,14 @@ def multi_instrument_session_5171(self, session_creation_kwargs): # High channe @pytest.fixture(scope='function') def session_5124(self, session_creation_kwargs): with daqmx_sim_5124_lock: - try: - with niscope.Session('5124', False, False, '', **session_creation_kwargs) as simulated_session: # 5124 is needed for video triggering - yield simulated_session - except niscope.Error as e: - if 'Invalid Identifier' in str(e): - pytest.skip('Skipping: simulated NI PXI-5124 is not available in this environment.') - raise + with niscope.Session('5124', False, False, '', **session_creation_kwargs) as simulated_session: # 5124 is needed for video triggering + yield simulated_session @pytest.fixture(scope='function') def session_5142(self, session_creation_kwargs): with daqmx_sim_5142_lock: - try: - with niscope.Session('5142', False, False, '', **session_creation_kwargs) as simulated_session: # 5142 is needed for OSP - yield simulated_session - except niscope.Error as e: - if 'Invalid Identifier' in str(e): - pytest.skip('Skipping: simulated NI PXI-5142 is not available in this environment.') - raise + with niscope.Session('5142', False, False, '', **session_creation_kwargs) as simulated_session: # 5142 is needed for OSP + yield simulated_session # Attribute tests def test_vi_boolean_attribute(self, multi_instrument_session): From c9fae9ddd0a082adbe3925a0293427ab4e39b692 Mon Sep 17 00:00:00 2001 From: Rahul R Date: Thu, 18 Jun 2026 03:32:15 +0000 Subject: [PATCH 18/18] Trigger Build --- .github/workflows/github_actions_aws_rhel_python64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_actions_aws_rhel_python64.yml b/.github/workflows/github_actions_aws_rhel_python64.yml index 9c1170568..b3ffbbc87 100644 --- a/.github/workflows/github_actions_aws_rhel_python64.yml +++ b/.github/workflows/github_actions_aws_rhel_python64.yml @@ -16,7 +16,7 @@ on: - synchronize - reopened - # Allows you to run this workflow manually from the Actions tab. + # Allows you to run this workflow manually from the Actions tab. workflow_dispatch: jobs: do-the-job1: