Skip to content

Commit 18d496f

Browse files
committed
Revert "Add Enso test for NI size"
This reverts commit 48bf3cf.
1 parent 8d77f79 commit 18d496f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/Base_Tests/src/System/Runner_Spec.enso

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ add_specs suite_builder = suite_builder.group "Engine runner" group_builder->
3636
Test.with_clue clue <|
3737
retcode . should_equal 0
3838

39-
ni_size_pending = if runs_in_aot then Nothing else "Only runs in AOT"
40-
group_builder.specify "Size of the Native Image executable should be kept reasonably small" pending=ni_size_pending <|
41-
min_size_mb = 150
42-
max_size_mb = 450
43-
exec = File.new enso_bin
44-
exec.exists . should_be_true
45-
Test.with_clue ("Size of the NI executable should be between [" + min_size_mb.to_text + "MB, " + max_size_mb.to_text + "MB]") <|
46-
actual_size_mb = exec.size / (1024 * 1024)
47-
(min_size_mb < actual_size_mb) . should_be_true
48-
(actual_size_mb < max_size_mb) . should_be_true
49-
5039

5140
runs_in_aot =
5241
prop = J_System.getProperty "org.graalvm.nativeimage.imagecode"

0 commit comments

Comments
 (0)