Skip to content

Commit f3facf5

Browse files
committed
Test: Added test for executable statements in module
1 parent 9ef4208 commit f3facf5

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_import_08-207710f",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/../integration_tests/test_import_08.py",
5+
"infile_hash": "d34564b8b0080503c1e8cc4f451bfe7fe8b48a376cbeb69351bf51bb",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": "runtime-test_import_08-207710f.stdout",
9+
"stdout_hash": "9ceb6eea9cf623038eadba7f51cdf6cdc7015e3a385200dc081079a4",
10+
"stderr": null,
11+
"stderr_hash": null,
12+
"returncode": 0
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Inside import

tests/tests.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,10 @@ asr = true
509509
filename = "../integration_tests/global_syms_01.py"
510510
asr = true
511511

512+
[[test]]
513+
filename = "../integration_tests/global_syms_01.py"
514+
run = true
515+
512516
[[test]]
513517
filename = "cast.py"
514518
asr = true
@@ -1478,4 +1482,4 @@ asr = true
14781482

14791483
[[test]]
14801484
filename = "errors/def_func_06.py"
1481-
asr = true
1485+
asr = true

0 commit comments

Comments
 (0)