diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-02-28 23:00:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 14:00:09 -0800 |
commit | d4601d0e53d2d17bd44822a98e42b00f4a03e33d (patch) | |
tree | 4cf9a7768562606b1f6a6b42dbe8df66421ac4d1 /lib | |
parent | 935660e3d5d6e7448d6946c7ace98dac5a0fe533 (diff) | |
download | spack-d4601d0e53d2d17bd44822a98e42b00f4a03e33d.tar.gz spack-d4601d0e53d2d17bd44822a98e42b00f4a03e33d.tar.bz2 spack-d4601d0e53d2d17bd44822a98e42b00f4a03e33d.tar.xz spack-d4601d0e53d2d17bd44822a98e42b00f4a03e33d.zip |
Unit tests: skip tests that intermittently fail on Windows (#42909)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/cmd/external.py | 1 | ||||
-rw-r--r-- | lib/spack/spack/test/install.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/test/cmd/external.py b/lib/spack/spack/test/cmd/external.py index deb334090f..e5bb29c6ea 100644 --- a/lib/spack/spack/test/cmd/external.py +++ b/lib/spack/spack/test/cmd/external.py @@ -251,6 +251,7 @@ def test_overriding_prefix(mock_executable, mutable_config, monkeypatch): assert gcc.external_path == os.path.sep + os.path.join("opt", "gcc", "bin") +@pytest.mark.not_on_windows("Fails spuriously on Windows") def test_new_entries_are_reported_correctly(mock_executable, mutable_config, monkeypatch): # Prepare an environment to detect a fake gcc gcc_exe = mock_executable("gcc", output="echo 4.2.1") diff --git a/lib/spack/spack/test/install.py b/lib/spack/spack/test/install.py index 2b65bc9cfb..02b0c31e0b 100644 --- a/lib/spack/spack/test/install.py +++ b/lib/spack/spack/test/install.py @@ -141,6 +141,7 @@ def test_partial_install_delete_prefix_and_stage(install_mockery, mock_fetch, wo assert s.package.spec.installed +@pytest.mark.not_on_windows("Fails spuriously on Windows") @pytest.mark.disable_clean_stage_check def test_failing_overwrite_install_should_keep_previous_installation( mock_fetch, install_mockery, working_env |