From e77b1da772eaefb06a8228971426ff3838dc4737 Mon Sep 17 00:00:00 2001 From: markus-ferrell <116021216+markus-ferrell@users.noreply.github.com> Date: Fri, 21 Apr 2023 08:18:06 -0400 Subject: Enable test suite tests on windows (#36966) --- lib/spack/spack/test/test_suite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/spack/spack/test/test_suite.py b/lib/spack/spack/test/test_suite.py index 3bebfd3da5..d2ed898728 100644 --- a/lib/spack/spack/test/test_suite.py +++ b/lib/spack/spack/test/test_suite.py @@ -10,8 +10,6 @@ import pytest import spack.install_test import spack.spec -pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="Tests fail on Windows") - def _true(*args, **kwargs): """Generic monkeypatch function that always returns True.""" @@ -142,6 +140,7 @@ def test_test_spec_run_once(mock_packages, install_mockery, mock_test_stage): test_suite() +@pytest.mark.skipif(sys.platform == "win32", reason="Cannot find echo executable") def test_test_spec_passes(mock_packages, install_mockery, mock_test_stage, monkeypatch): spec = spack.spec.Spec("simple-standalone-test").concretized() monkeypatch.setattr(spack.spec.Spec, "installed", _true) -- cgit v1.2.3-60-g2f50