mcst-linux-kernel/patches-2024.06.26/boost-1.83.0/0009-skip-pch-test.patch

18 lines
706 B
Diff

Subject: skip not supported precompiled headers test
Bug: 93994
Tags: lcc
diff -rupN a/tools/build/test/test_all.py b/tools/build/test/test_all.py
--- a/tools/build/test/test_all.py 2023-12-18 13:12:28.570242335 +0300
+++ b/tools/build/test/test_all.py 2023-12-18 13:13:12.669440807 +0300
@@ -410,7 +410,8 @@ if toolset.startswith("gcc") and os.name
tests.append("gcc_runtime")
if toolset.startswith("clang") or toolset.startswith("gcc") or toolset.startswith("msvc"):
- tests.append("pch")
+ if platform.machine() != 'e2k':
+ tests.append("pch")
tests.append("feature_force_include")
# Clang includes Objective-C driver everywhere, but GCC usually in a separate gobj package