Skip to content

Commit

Permalink
Fix asserts in tests checking for the libcxx setting (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
juansblanco authored Nov 7, 2023
1 parent 586bc0b commit 7b84e39
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def test_ios(self, capfd, chdir_build):
assert "os=iOS" in out
assert "os.sdk=iphoneos" in out
assert "os.version=11.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out

@darwin
def test_ios_simulator(self, capfd, chdir_build):
Expand All @@ -488,7 +488,7 @@ def test_ios_simulator(self, capfd, chdir_build):
assert "os=iOS" in out
assert "os.sdk=iphonesimulator" in out
assert "os.version=11.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out


class TestTvOS:
Expand All @@ -502,7 +502,7 @@ def test_tvos(self, capfd, chdir_build):
assert "os=tvOS" in out
assert "os.sdk=appletvos" in out
assert "os.version=15.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out

@darwin
def test_tvos_simulator(self, capfd, chdir_build):
Expand All @@ -514,7 +514,7 @@ def test_tvos_simulator(self, capfd, chdir_build):
assert "os=tvOS" in out
assert "os.sdk=appletvsimulator" in out
assert "os.version=15.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out


class TestWatchOS:
Expand All @@ -528,7 +528,7 @@ def test_watchos(self, capfd, chdir_build):
assert "os=watchOS" in out
assert "os.sdk=watchos" in out
assert "os.version=7.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out

@darwin
def test_watchos_simulator(self, capfd, chdir_build):
Expand All @@ -540,7 +540,7 @@ def test_watchos_simulator(self, capfd, chdir_build):
assert "os=watchOS" in out
assert "os.sdk=watchsimulator" in out
assert "os.version=7.0" in out
assert "compiler.libcxx=libc++"
assert "compiler.libcxx=libc++" in out


class TestMSVCArch:
Expand Down

0 comments on commit 7b84e39

Please sign in to comment.