Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 72d91ce

Browse files
[[ cpptest ]] Fix build problems
1 parent b47ae06 commit 72d91ce

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

config/cpptest.gypi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@
8484
},
8585
},
8686
],
87+
[
88+
'OS == "ios" or OS == "android"',
89+
{
90+
# We can't run the tests on these platform so use `true`
91+
# as the wrapper
92+
'variables':
93+
{
94+
'exec_wrapper': 'true',
95+
},
96+
},
97+
],
8798
],
8899

89100
'actions':

engine/test/test_new.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
3737

3838
enum {
3939
SIZE =
40-
#if defined(__EMSCRIPTEN__) || defined(__I386__)
40+
#if defined(__32_BIT__)
4141
1 << 15
4242
#else
4343
1 << 20

util/run-tests.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
chdir $test_dir or die "Failed to change directory!";
1010
print "$test_wrapper $test_exec\n";
11-
exec "$test_wrapper $test_exec";
11+
exec "$test_wrapper $test_exec" || die "Failed to run tests!";

0 commit comments

Comments
 (0)