diff options
| author | ruki <[email protected]> | 2025-12-02 21:48:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-02 21:48:05 +0800 |
| commit | 3aca93627b3cada55db8d0215d6ff87ca418ceab (patch) | |
| tree | 1389eecb445a01f36f61da4b2243f69f45d14148 /tests | |
| parent | 5b0d381ec72cf946c07e76a36542eb1be169ffb1 (diff) | |
| parent | 408fd6795601df3c7b838a74fdc28efd57c476e7 (diff) | |
Merge pull request #7092 from xmake-io/solaris
Fix solaris build
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/benchmarks/build_targets/test.lua | 5 | ||||
| -rw-r--r-- | tests/benchmarks/config_targets/test.lua | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/benchmarks/build_targets/test.lua b/tests/benchmarks/build_targets/test.lua index 8660dbe52..28d239b54 100644 --- a/tests/benchmarks/build_targets/test.lua +++ b/tests/benchmarks/build_targets/test.lua @@ -15,6 +15,11 @@ end function test_build(t) + -- 20% random trigger + if math.random() > 0.2 then + return + end + if xmake.is_embed() then return end diff --git a/tests/benchmarks/config_targets/test.lua b/tests/benchmarks/config_targets/test.lua index 8eacf2dc1..e16bf12d2 100644 --- a/tests/benchmarks/config_targets/test.lua +++ b/tests/benchmarks/config_targets/test.lua @@ -15,6 +15,11 @@ end function test_config(t) + -- 20% random trigger + if math.random() > 0.2 then + return + end + if xmake.is_embed() then return end |
