ncc-test-verbose.log
· 15 KiB · Text
Raw
❯ make test-verbose
cargo build --release
warning: unused variable: `expected_type`
--> src/compiler/ir/mod.rs:3508:9
|
3508 | expected_type: Option<&str>,
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_type`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: method `lower_global_function_call` is never used
--> src/compiler/ir/mod.rs:3504:8
|
607 | impl<'a> FunctionBuilder<'a> {
| ---------------------------- method in this implementation
...
3504 | fn lower_global_function_call(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `ncc` (lib) generated 2 warnings
Finished `release` profile [optimized] target(s) in 0.02s
Running tests with verbose output...
==================== array_range.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running array_range.nc...
--- Basic Slice ---
[0, 1, 1, 2, 3]
[1, 2, 3, 5]
--- Step Slice ---
[0, 1, 3, 8, 21, 55]
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== array_simple.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running array_simple.nc...
Array created
Index: 0
Index: 1
Index: 2
Done
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== assert.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running assert.nc...
Assert passed: x < y
Assert passed: x != y
Assert passed: true
All assertions passed!
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== async_await.fail.nc ====================
Expected: FAIL check (legacy)
Error: expected function call after 'async'
--> tests/async_await.fail.nc:12:26
|
12 | int* future = async 5
| ^
| here
Error: compilation halted: 1 errors emitted
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== async_error_handling.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running async_error_handling.nc...
Success! Value: 42
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== async.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running async.nc...
Result from async call: 5050
Result 2: 5050
Result 3: 5050
All async operations completed!
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== async_type_mismatch.fail.nc ====================
Expected: FAIL check (legacy)
Error: cannot initialize variable 'result' of type 'int' with value of type 'int*'
--> tests/async_type_mismatch.fail.nc:10:5
|
10 | int result = async returnsInt()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Error: cannot await non-Future type 'int'
--> tests/async_type_mismatch.fail.nc:14:19
|
14 | int y = await x
| ^
|
Error: type validation failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== builtins_combined.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running builtins_combined.nc...
new(int) = 0
int("789") = 789
Assert passed: val = 100
str(new(int)) = "0"
All builtin function tests passed!
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== comparison.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running comparison.nc...
String: abc
Length: 3
0 < 3: true
1 < 3: true
2 < 3: true
3 < 3: false (CORRECT)
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== compound.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running compound.nc...
Numerator: 20, Denominator: 31
Numerator: 40, Denominator: 31
x = 15
x = 12
x = 24
x = 6
x = 2
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== functions_as_values.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running functions_as_values.nc...
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== listdir.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running listdir.nc...
=== Using io.stat (single file) ===
README.md: size=786, is_dir=0, mode=420
=== Using io.readdir (directory listing) ===
Found 13 entries:
[dir] .github: 4096 bytes
[file] Makefile: 5814 bytes
[dir] tests: 4096 bytes
[dir] target: 4096 bytes
[file] .gitignore: 708 bytes
[dir] .git: 4096 bytes
[file] LICENSE: 11356 bytes
[dir] .idea: 4096 bytes
[dir] src: 4096 bytes
[file] Cargo.lock: 6566 bytes
[file] Cargo.toml: 238 bytes
[dir] std: 4096 bytes
[file] README.md: 786 bytes
=== Recursive directory listing ===
[file] Makefile
[dir] tests/
[file] variadic_debug.nc
[file] testing.test.nc
[file] scope_leak_if.fail.nc
[file] struct.nc
[file] struct_array.nc
[file] panic.fail.run.nc
[file] functions_as_values.nc
[file] variadic_iter.nc
[file] async.nc
[file] variadic.nc
[file] builtins_combined.nc
[file] type_casts.nc
[file] simple_slice.nc
[file] listdir.nc
[file] scope_leak.fail.nc
[file] variadic_simple.nc
[file] comparison.nc
[file] type_alias.nc
[file] str.nc
[file] loops.nc
[file] tuples_comprehensive.nc
[file] array_simple.nc
[file] type_alias_func.nc
[file] async_type_mismatch.fail.nc
[file] new.nc
[file] assert.nc
[file] loop_scope.nc
[file] shadowing.nc
[file] type_alias_nested.nc
[file] array_range.nc
[file] async_await.fail.nc
[file] operators.nc
[file] time_now.nc
[file] compound.nc
[file] async_error_handling.nc
[file] time_sleep.nc
[file] .gitignore
[file] LICENSE
[dir] src/
[file] lib.rs
[dir] compiler/
[dir] passes/
[file] mod.rs
[file] optimizations.rs
[dir] syntax/
[file] ast.rs
[file] mod.rs
[file] lexer.rs
[file] parser.rs
[file] ast_printer.rs
[dir] source/
[file] mod.rs
[file] driver.rs
[file] mod.rs
[dir] hir/
[file] mod.rs
[dir] backend/
[file] mod.rs
[file] asm.rs
[dir] diagnostics/
[file] mod.rs
[dir] ir/
[file] mod.rs
[file] cli.rs
[file] main.rs
[file] Cargo.lock
[file] Cargo.toml
[dir] std/
[file] os.nc
[file] math.nc
[file] io.nc
[file] time.nc
[file] README.md
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== loop_scope.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running loop_scope.nc...
n: 0 1
n: 1 2
n: 2 3
x: 2
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== loops.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running loops.nc...
a = 0
a = 1
a = 2
a = 3
a = 4
a = 5
a = 6
a = 7
a = 8
a = 9
b = 2
b = 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
3
5
7
9
11
13
15
17
19
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== new.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running new.nc...
new(int) = 0
new(bool) = 0
new(str) = ""
new(int) again = 0
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== operators.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running operators.nc...
=== Arithmetic Operators ===
a = 10, b = 3
a + b = 13
a - b = 7
a * b = 30
a / b = 3
a % b = 1
a ** b = 1000
=== Comparison Operators ===
a == b: 0
a != b: 1
a < b: 0
a > b: 1
a <= b: 0
a >= b: 1
=== Logical Operators ===
x = 1, y = 0
x and y: 0
x or y: 1
not x: 0
not y: 1
=== Bitwise Operators ===
c = 5, d = 3
c << 1 = 10
c >> 1 = 2
c & d = 1
c | d = 7
c ^ d = 6
!c = -6
=== Concatenation Operator ===
s1 <> s2 <> s3 = Hello World
arr1 <> arr2: concatenated (array length: 771)
=== Unary Operators ===
e = 42
-e = -42
!e = -43
f = 1
not f = 0
=== Operator Precedence ===
2 + 3 * 4 = 14
true and false or true = 1
1 + 2 << 1 = 6
=== All tests completed ===
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== panic.fail.run.nc ====================
Expected: PASS check, FAIL run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running panic.fail.run.nc...
Test panic messageFINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (runtime error as expected)
==================== scope_leak.fail.nc ====================
Expected: FAIL check (legacy)
Error: undefined variable 'n'
--> tests/scope_leak.fail.nc:7:13
|
7 | int x = n
| ^
| here
Error: compilation halted: 1 errors emitted
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== scope_leak_if.fail.nc ====================
Expected: FAIL check (legacy)
Error: undefined variable 'y'
--> tests/scope_leak_if.fail.nc:5:13
|
5 | int z = y
| ^
| here
Error: compilation halted: 1 errors emitted
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== shadowing.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running shadowing.nc...
1
hello
1
hello
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== simple_slice.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running simple_slice.nc...
Array: [1, 2, 3, 4, 5]
nums[1:3]: [2, 3, 4]
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== str.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running str.nc...
0:c
1:o
2:o
3:k
4:i
5:e
6:
7:🍪
0:c
1:o
2:o
3:k
4:i
5:e
6:
7:🍪
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== struct_array.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running struct_array.nc...
Person created: Alice, 30
Array created
Index: 0
Name: Alice, Age: 30
Index: 1
Name: Bob, Age: 25
Done
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== struct.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running struct.nc...
Name: Alice, Age: 30
name Alice
age 30
Numerator: 11, Denominator: 32
Numerator: 20, Denominator: 62
Numerator: 40, Denominator: 62
Name: Bob, Age: 25
name Bob
age 25
Name: Alice, Age: 30
name Alice
age 30
Name: Charlie, Age: 35
name Charlie
age 35
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== testing.test.nc ====================
Expected: PASS check and test
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Testing testing.test.nc...
Test results: 1 passed, 0 failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== time_now.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running time_now.nc...
Current timestamp: 1764386923
Timestamp after 1s: 1764386924
FINISHED CPU 0.01 MEM 7616 MAXMEM 7616 STALE 1 MAXMEM_RSS 5316
Result: ✅ PASSED
==================== time_sleep.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running time_sleep.nc...
Start
End
FINISHED CPU 0.01 MEM 7608 MAXMEM 7608 STALE 2 MAXMEM_RSS 5172
Result: ✅ PASSED
==================== tuples_comprehensive.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running tuples_comprehensive.nc...
--- Basic Tuple ---
t1[0]: 1
t1[1]: Hi
--- Optional Tuple ---
result[0] is set
result[1] is none
--- Return Tuple ---
vals: 6, -2
--- Indexing ---
vals[0]: 1
vals[1]: hi
vals[2]: 2
--- Destructuring ---
a: 1, b: 2
x: 10, y: Test
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== type_alias_func.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running type_alias_func.nc...
ID: 123, Name: Alice
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== type_alias.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running type_alias.nc...
Type alias test passed!
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== type_alias_nested.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running type_alias_nested.nc...
x = 42
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== type_casts.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running type_casts.nc...
int("123") = 123
str(456) = 456
bool(0) = 0
bool(1) = 1
bool(42) = 1
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== variadic_debug.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running variadic_debug.nc...
Starting sum
About to iterate
In loop, index: 0
Adding: 1
In loop, index: 1
Adding: 2
In loop, index: 2
Adding: 3
Final total: 6
Result: 6
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== variadic_iter.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running variadic_iter.nc...
Starting sum
Adding: 1
Adding: 2
Adding: 3
Final total: 6
Result: 6
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== variadic.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running variadic.nc...
Sum1 (10): 10
Sum2 (10+5): 15
Sum3 (10+5+10+20): 45
Hello World!
No Newline
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== variadic_simple.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running variadic_simple.nc...
Got args
Done
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== Summary ====================
Results: 36 passed, 0 failed
~/git/nc mast
| 1 | ❯ make test-verbose |
| 2 | cargo build --release |
| 3 | warning: unused variable: `expected_type` |
| 4 | --> src/compiler/ir/mod.rs:3508:9 |
| 5 | | |
| 6 | 3508 | expected_type: Option<&str>, |
| 7 | | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_type` |
| 8 | | |
| 9 | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default |
| 10 | |
| 11 | warning: method `lower_global_function_call` is never used |
| 12 | --> src/compiler/ir/mod.rs:3504:8 |
| 13 | | |
| 14 | 607 | impl<'a> FunctionBuilder<'a> { |
| 15 | | ---------------------------- method in this implementation |
| 16 | ... |
| 17 | 3504 | fn lower_global_function_call( |
| 18 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 19 | | |
| 20 | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default |
| 21 | |
| 22 | warning: `ncc` (lib) generated 2 warnings |
| 23 | Finished `release` profile [optimized] target(s) in 0.02s |
| 24 | Running tests with verbose output... |
| 25 | |
| 26 | ==================== array_range.nc ==================== |
| 27 | Expected: PASS check and run |
| 28 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 29 | Running array_range.nc... |
| 30 | --- Basic Slice --- |
| 31 | [0, 1, 1, 2, 3] |
| 32 | [1, 2, 3, 5] |
| 33 | |
| 34 | --- Step Slice --- |
| 35 | [0, 1, 3, 8, 21, 55] |
| 36 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 37 | Result: ✅ PASSED |
| 38 | |
| 39 | ==================== array_simple.nc ==================== |
| 40 | Expected: PASS check and run |
| 41 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 42 | Running array_simple.nc... |
| 43 | Array created |
| 44 | Index: 0 |
| 45 | Index: 1 |
| 46 | Index: 2 |
| 47 | Done |
| 48 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 49 | Result: ✅ PASSED |
| 50 | |
| 51 | ==================== assert.nc ==================== |
| 52 | Expected: PASS check and run |
| 53 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 54 | Running assert.nc... |
| 55 | Assert passed: x < y |
| 56 | Assert passed: x != y |
| 57 | Assert passed: true |
| 58 | All assertions passed! |
| 59 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 60 | Result: ✅ PASSED |
| 61 | |
| 62 | ==================== async_await.fail.nc ==================== |
| 63 | Expected: FAIL check (legacy) |
| 64 | Error: expected function call after 'async' |
| 65 | --> tests/async_await.fail.nc:12:26 |
| 66 | | |
| 67 | 12 | int* future = async 5 |
| 68 | | ^ |
| 69 | | here |
| 70 | |
| 71 | Error: compilation halted: 1 errors emitted |
| 72 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 73 | Result: ✅ PASSED (error as expected) |
| 74 | |
| 75 | ==================== async_error_handling.nc ==================== |
| 76 | Expected: PASS check and run |
| 77 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 78 | Running async_error_handling.nc... |
| 79 | Success! Value: 42 |
| 80 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 81 | Result: ✅ PASSED |
| 82 | |
| 83 | ==================== async.nc ==================== |
| 84 | Expected: PASS check and run |
| 85 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 86 | Running async.nc... |
| 87 | Result from async call: 5050 |
| 88 | Result 2: 5050 |
| 89 | Result 3: 5050 |
| 90 | All async operations completed! |
| 91 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 92 | Result: ✅ PASSED |
| 93 | |
| 94 | ==================== async_type_mismatch.fail.nc ==================== |
| 95 | Expected: FAIL check (legacy) |
| 96 | Error: cannot initialize variable 'result' of type 'int' with value of type 'int*' |
| 97 | --> tests/async_type_mismatch.fail.nc:10:5 |
| 98 | | |
| 99 | 10 | int result = async returnsInt() |
| 100 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 101 | | |
| 102 | |
| 103 | Error: cannot await non-Future type 'int' |
| 104 | --> tests/async_type_mismatch.fail.nc:14:19 |
| 105 | | |
| 106 | 14 | int y = await x |
| 107 | | ^ |
| 108 | | |
| 109 | |
| 110 | Error: type validation failed |
| 111 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 112 | Result: ✅ PASSED (error as expected) |
| 113 | |
| 114 | ==================== builtins_combined.nc ==================== |
| 115 | Expected: PASS check and run |
| 116 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 117 | Running builtins_combined.nc... |
| 118 | new(int) = 0 |
| 119 | int("789") = 789 |
| 120 | Assert passed: val = 100 |
| 121 | str(new(int)) = "0" |
| 122 | All builtin function tests passed! |
| 123 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 124 | Result: ✅ PASSED |
| 125 | |
| 126 | ==================== comparison.nc ==================== |
| 127 | Expected: PASS check and run |
| 128 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 129 | Running comparison.nc... |
| 130 | String: abc |
| 131 | Length: 3 |
| 132 | 0 < 3: true |
| 133 | 1 < 3: true |
| 134 | 2 < 3: true |
| 135 | 3 < 3: false (CORRECT) |
| 136 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 137 | Result: ✅ PASSED |
| 138 | |
| 139 | ==================== compound.nc ==================== |
| 140 | Expected: PASS check and run |
| 141 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 142 | Running compound.nc... |
| 143 | Numerator: 20, Denominator: 31 |
| 144 | Numerator: 40, Denominator: 31 |
| 145 | x = 15 |
| 146 | x = 12 |
| 147 | x = 24 |
| 148 | x = 6 |
| 149 | x = 2 |
| 150 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 151 | Result: ✅ PASSED |
| 152 | |
| 153 | ==================== functions_as_values.nc ==================== |
| 154 | Expected: PASS check and run |
| 155 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 156 | Running functions_as_values.nc... |
| 157 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 158 | Result: ✅ PASSED |
| 159 | |
| 160 | ==================== listdir.nc ==================== |
| 161 | Expected: PASS check and run |
| 162 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 163 | Running listdir.nc... |
| 164 | === Using io.stat (single file) === |
| 165 | README.md: size=786, is_dir=0, mode=420 |
| 166 | |
| 167 | === Using io.readdir (directory listing) === |
| 168 | Found 13 entries: |
| 169 | [dir] .github: 4096 bytes |
| 170 | [file] Makefile: 5814 bytes |
| 171 | [dir] tests: 4096 bytes |
| 172 | [dir] target: 4096 bytes |
| 173 | [file] .gitignore: 708 bytes |
| 174 | [dir] .git: 4096 bytes |
| 175 | [file] LICENSE: 11356 bytes |
| 176 | [dir] .idea: 4096 bytes |
| 177 | [dir] src: 4096 bytes |
| 178 | [file] Cargo.lock: 6566 bytes |
| 179 | [file] Cargo.toml: 238 bytes |
| 180 | [dir] std: 4096 bytes |
| 181 | [file] README.md: 786 bytes |
| 182 | |
| 183 | === Recursive directory listing === |
| 184 | [file] Makefile |
| 185 | [dir] tests/ |
| 186 | [file] variadic_debug.nc |
| 187 | [file] testing.test.nc |
| 188 | [file] scope_leak_if.fail.nc |
| 189 | [file] struct.nc |
| 190 | [file] struct_array.nc |
| 191 | [file] panic.fail.run.nc |
| 192 | [file] functions_as_values.nc |
| 193 | [file] variadic_iter.nc |
| 194 | [file] async.nc |
| 195 | [file] variadic.nc |
| 196 | [file] builtins_combined.nc |
| 197 | [file] type_casts.nc |
| 198 | [file] simple_slice.nc |
| 199 | [file] listdir.nc |
| 200 | [file] scope_leak.fail.nc |
| 201 | [file] variadic_simple.nc |
| 202 | [file] comparison.nc |
| 203 | [file] type_alias.nc |
| 204 | [file] str.nc |
| 205 | [file] loops.nc |
| 206 | [file] tuples_comprehensive.nc |
| 207 | [file] array_simple.nc |
| 208 | [file] type_alias_func.nc |
| 209 | [file] async_type_mismatch.fail.nc |
| 210 | [file] new.nc |
| 211 | [file] assert.nc |
| 212 | [file] loop_scope.nc |
| 213 | [file] shadowing.nc |
| 214 | [file] type_alias_nested.nc |
| 215 | [file] array_range.nc |
| 216 | [file] async_await.fail.nc |
| 217 | [file] operators.nc |
| 218 | [file] time_now.nc |
| 219 | [file] compound.nc |
| 220 | [file] async_error_handling.nc |
| 221 | [file] time_sleep.nc |
| 222 | [file] .gitignore |
| 223 | [file] LICENSE |
| 224 | [dir] src/ |
| 225 | [file] lib.rs |
| 226 | [dir] compiler/ |
| 227 | [dir] passes/ |
| 228 | [file] mod.rs |
| 229 | [file] optimizations.rs |
| 230 | [dir] syntax/ |
| 231 | [file] ast.rs |
| 232 | [file] mod.rs |
| 233 | [file] lexer.rs |
| 234 | [file] parser.rs |
| 235 | [file] ast_printer.rs |
| 236 | [dir] source/ |
| 237 | [file] mod.rs |
| 238 | [file] driver.rs |
| 239 | [file] mod.rs |
| 240 | [dir] hir/ |
| 241 | [file] mod.rs |
| 242 | [dir] backend/ |
| 243 | [file] mod.rs |
| 244 | [file] asm.rs |
| 245 | [dir] diagnostics/ |
| 246 | [file] mod.rs |
| 247 | [dir] ir/ |
| 248 | [file] mod.rs |
| 249 | [file] cli.rs |
| 250 | [file] main.rs |
| 251 | [file] Cargo.lock |
| 252 | [file] Cargo.toml |
| 253 | [dir] std/ |
| 254 | [file] os.nc |
| 255 | [file] math.nc |
| 256 | [file] io.nc |
| 257 | [file] time.nc |
| 258 | [file] README.md |
| 259 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 260 | Result: ✅ PASSED |
| 261 | |
| 262 | ==================== loop_scope.nc ==================== |
| 263 | Expected: PASS check and run |
| 264 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 265 | Running loop_scope.nc... |
| 266 | n: 0 1 |
| 267 | n: 1 2 |
| 268 | n: 2 3 |
| 269 | x: 2 |
| 270 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 271 | Result: ✅ PASSED |
| 272 | |
| 273 | ==================== loops.nc ==================== |
| 274 | Expected: PASS check and run |
| 275 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 276 | Running loops.nc... |
| 277 | a = 0 |
| 278 | a = 1 |
| 279 | a = 2 |
| 280 | a = 3 |
| 281 | a = 4 |
| 282 | a = 5 |
| 283 | a = 6 |
| 284 | a = 7 |
| 285 | a = 8 |
| 286 | a = 9 |
| 287 | b = 2 |
| 288 | b = 1 |
| 289 | 1 |
| 290 | 2 |
| 291 | 3 |
| 292 | 4 |
| 293 | 5 |
| 294 | 6 |
| 295 | 7 |
| 296 | 8 |
| 297 | 9 |
| 298 | 10 |
| 299 | 11 |
| 300 | 12 |
| 301 | 13 |
| 302 | 14 |
| 303 | 15 |
| 304 | 16 |
| 305 | 17 |
| 306 | 18 |
| 307 | 19 |
| 308 | 20 |
| 309 | 1 |
| 310 | 3 |
| 311 | 5 |
| 312 | 7 |
| 313 | 9 |
| 314 | 11 |
| 315 | 13 |
| 316 | 15 |
| 317 | 17 |
| 318 | 19 |
| 319 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 320 | Result: ✅ PASSED |
| 321 | |
| 322 | ==================== new.nc ==================== |
| 323 | Expected: PASS check and run |
| 324 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 325 | Running new.nc... |
| 326 | new(int) = 0 |
| 327 | new(bool) = 0 |
| 328 | new(str) = "" |
| 329 | new(int) again = 0 |
| 330 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 331 | Result: ✅ PASSED |
| 332 | |
| 333 | ==================== operators.nc ==================== |
| 334 | Expected: PASS check and run |
| 335 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 336 | Running operators.nc... |
| 337 | === Arithmetic Operators === |
| 338 | a = 10, b = 3 |
| 339 | a + b = 13 |
| 340 | a - b = 7 |
| 341 | a * b = 30 |
| 342 | a / b = 3 |
| 343 | a % b = 1 |
| 344 | a ** b = 1000 |
| 345 | |
| 346 | === Comparison Operators === |
| 347 | a == b: 0 |
| 348 | a != b: 1 |
| 349 | a < b: 0 |
| 350 | a > b: 1 |
| 351 | a <= b: 0 |
| 352 | a >= b: 1 |
| 353 | |
| 354 | === Logical Operators === |
| 355 | x = 1, y = 0 |
| 356 | x and y: 0 |
| 357 | x or y: 1 |
| 358 | not x: 0 |
| 359 | not y: 1 |
| 360 | |
| 361 | === Bitwise Operators === |
| 362 | c = 5, d = 3 |
| 363 | c << 1 = 10 |
| 364 | c >> 1 = 2 |
| 365 | c & d = 1 |
| 366 | c | d = 7 |
| 367 | c ^ d = 6 |
| 368 | !c = -6 |
| 369 | |
| 370 | === Concatenation Operator === |
| 371 | s1 <> s2 <> s3 = Hello World |
| 372 | arr1 <> arr2: concatenated (array length: 771) |
| 373 | |
| 374 | === Unary Operators === |
| 375 | e = 42 |
| 376 | -e = -42 |
| 377 | !e = -43 |
| 378 | f = 1 |
| 379 | not f = 0 |
| 380 | |
| 381 | === Operator Precedence === |
| 382 | 2 + 3 * 4 = 14 |
| 383 | true and false or true = 1 |
| 384 | 1 + 2 << 1 = 6 |
| 385 | |
| 386 | === All tests completed === |
| 387 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 388 | Result: ✅ PASSED |
| 389 | |
| 390 | ==================== panic.fail.run.nc ==================== |
| 391 | Expected: PASS check, FAIL run |
| 392 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 393 | Running panic.fail.run.nc... |
| 394 | Test panic messageFINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 395 | Result: ✅ PASSED (runtime error as expected) |
| 396 | |
| 397 | ==================== scope_leak.fail.nc ==================== |
| 398 | Expected: FAIL check (legacy) |
| 399 | Error: undefined variable 'n' |
| 400 | --> tests/scope_leak.fail.nc:7:13 |
| 401 | | |
| 402 | 7 | int x = n |
| 403 | | ^ |
| 404 | | here |
| 405 | |
| 406 | Error: compilation halted: 1 errors emitted |
| 407 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 408 | Result: ✅ PASSED (error as expected) |
| 409 | |
| 410 | ==================== scope_leak_if.fail.nc ==================== |
| 411 | Expected: FAIL check (legacy) |
| 412 | Error: undefined variable 'y' |
| 413 | --> tests/scope_leak_if.fail.nc:5:13 |
| 414 | | |
| 415 | 5 | int z = y |
| 416 | | ^ |
| 417 | | here |
| 418 | |
| 419 | Error: compilation halted: 1 errors emitted |
| 420 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 421 | Result: ✅ PASSED (error as expected) |
| 422 | |
| 423 | ==================== shadowing.nc ==================== |
| 424 | Expected: PASS check and run |
| 425 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 426 | Running shadowing.nc... |
| 427 | 1 |
| 428 | hello |
| 429 | 1 |
| 430 | hello |
| 431 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 432 | Result: ✅ PASSED |
| 433 | |
| 434 | ==================== simple_slice.nc ==================== |
| 435 | Expected: PASS check and run |
| 436 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 437 | Running simple_slice.nc... |
| 438 | Array: [1, 2, 3, 4, 5] |
| 439 | nums[1:3]: [2, 3, 4] |
| 440 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 441 | Result: ✅ PASSED |
| 442 | |
| 443 | ==================== str.nc ==================== |
| 444 | Expected: PASS check and run |
| 445 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 446 | Running str.nc... |
| 447 | 0:c |
| 448 | 1:o |
| 449 | 2:o |
| 450 | 3:k |
| 451 | 4:i |
| 452 | 5:e |
| 453 | 6: |
| 454 | 7:🍪 |
| 455 | 0:c |
| 456 | 1:o |
| 457 | 2:o |
| 458 | 3:k |
| 459 | 4:i |
| 460 | 5:e |
| 461 | 6: |
| 462 | 7:🍪 |
| 463 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 464 | Result: ✅ PASSED |
| 465 | |
| 466 | ==================== struct_array.nc ==================== |
| 467 | Expected: PASS check and run |
| 468 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 469 | Running struct_array.nc... |
| 470 | Person created: Alice, 30 |
| 471 | Array created |
| 472 | Index: 0 |
| 473 | Name: Alice, Age: 30 |
| 474 | Index: 1 |
| 475 | Name: Bob, Age: 25 |
| 476 | Done |
| 477 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 478 | Result: ✅ PASSED |
| 479 | |
| 480 | ==================== struct.nc ==================== |
| 481 | Expected: PASS check and run |
| 482 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 483 | Running struct.nc... |
| 484 | Name: Alice, Age: 30 |
| 485 | name Alice |
| 486 | age 30 |
| 487 | Numerator: 11, Denominator: 32 |
| 488 | Numerator: 20, Denominator: 62 |
| 489 | Numerator: 40, Denominator: 62 |
| 490 | Name: Bob, Age: 25 |
| 491 | name Bob |
| 492 | age 25 |
| 493 | Name: Alice, Age: 30 |
| 494 | name Alice |
| 495 | age 30 |
| 496 | Name: Charlie, Age: 35 |
| 497 | name Charlie |
| 498 | age 35 |
| 499 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 500 | Result: ✅ PASSED |
| 501 | |
| 502 | ==================== testing.test.nc ==================== |
| 503 | Expected: PASS check and test |
| 504 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 505 | Testing testing.test.nc... |
| 506 | |
| 507 | Test results: 1 passed, 0 failed |
| 508 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 509 | Result: ✅ PASSED |
| 510 | |
| 511 | ==================== time_now.nc ==================== |
| 512 | Expected: PASS check and run |
| 513 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 514 | Running time_now.nc... |
| 515 | Current timestamp: 1764386923 |
| 516 | Timestamp after 1s: 1764386924 |
| 517 | FINISHED CPU 0.01 MEM 7616 MAXMEM 7616 STALE 1 MAXMEM_RSS 5316 |
| 518 | Result: ✅ PASSED |
| 519 | |
| 520 | ==================== time_sleep.nc ==================== |
| 521 | Expected: PASS check and run |
| 522 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 523 | Running time_sleep.nc... |
| 524 | Start |
| 525 | End |
| 526 | FINISHED CPU 0.01 MEM 7608 MAXMEM 7608 STALE 2 MAXMEM_RSS 5172 |
| 527 | Result: ✅ PASSED |
| 528 | |
| 529 | ==================== tuples_comprehensive.nc ==================== |
| 530 | Expected: PASS check and run |
| 531 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 532 | Running tuples_comprehensive.nc... |
| 533 | --- Basic Tuple --- |
| 534 | t1[0]: 1 |
| 535 | t1[1]: Hi |
| 536 | |
| 537 | --- Optional Tuple --- |
| 538 | result[0] is set |
| 539 | result[1] is none |
| 540 | |
| 541 | --- Return Tuple --- |
| 542 | vals: 6, -2 |
| 543 | |
| 544 | --- Indexing --- |
| 545 | vals[0]: 1 |
| 546 | vals[1]: hi |
| 547 | vals[2]: 2 |
| 548 | |
| 549 | --- Destructuring --- |
| 550 | a: 1, b: 2 |
| 551 | x: 10, y: Test |
| 552 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 553 | Result: ✅ PASSED |
| 554 | |
| 555 | ==================== type_alias_func.nc ==================== |
| 556 | Expected: PASS check and run |
| 557 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 558 | Running type_alias_func.nc... |
| 559 | ID: 123, Name: Alice |
| 560 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 561 | Result: ✅ PASSED |
| 562 | |
| 563 | ==================== type_alias.nc ==================== |
| 564 | Expected: PASS check and run |
| 565 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 566 | Running type_alias.nc... |
| 567 | Type alias test passed! |
| 568 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 569 | Result: ✅ PASSED |
| 570 | |
| 571 | ==================== type_alias_nested.nc ==================== |
| 572 | Expected: PASS check and run |
| 573 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 574 | Running type_alias_nested.nc... |
| 575 | x = 42 |
| 576 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 577 | Result: ✅ PASSED |
| 578 | |
| 579 | ==================== type_casts.nc ==================== |
| 580 | Expected: PASS check and run |
| 581 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 582 | Running type_casts.nc... |
| 583 | int("123") = 123 |
| 584 | str(456) = 456 |
| 585 | bool(0) = 0 |
| 586 | bool(1) = 1 |
| 587 | bool(42) = 1 |
| 588 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 589 | Result: ✅ PASSED |
| 590 | |
| 591 | ==================== variadic_debug.nc ==================== |
| 592 | Expected: PASS check and run |
| 593 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 594 | Running variadic_debug.nc... |
| 595 | Starting sum |
| 596 | About to iterate |
| 597 | In loop, index: 0 |
| 598 | Adding: 1 |
| 599 | In loop, index: 1 |
| 600 | Adding: 2 |
| 601 | In loop, index: 2 |
| 602 | Adding: 3 |
| 603 | Final total: 6 |
| 604 | Result: 6 |
| 605 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 606 | Result: ✅ PASSED |
| 607 | |
| 608 | ==================== variadic_iter.nc ==================== |
| 609 | Expected: PASS check and run |
| 610 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 611 | Running variadic_iter.nc... |
| 612 | Starting sum |
| 613 | Adding: 1 |
| 614 | Adding: 2 |
| 615 | Adding: 3 |
| 616 | Final total: 6 |
| 617 | Result: 6 |
| 618 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 619 | Result: ✅ PASSED |
| 620 | |
| 621 | ==================== variadic.nc ==================== |
| 622 | Expected: PASS check and run |
| 623 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 624 | Running variadic.nc... |
| 625 | Sum1 (10): 10 |
| 626 | Sum2 (10+5): 15 |
| 627 | Sum3 (10+5+10+20): 45 |
| 628 | Hello World! |
| 629 | No Newline |
| 630 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 631 | Result: ✅ PASSED |
| 632 | |
| 633 | ==================== variadic_simple.nc ==================== |
| 634 | Expected: PASS check and run |
| 635 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 636 | Running variadic_simple.nc... |
| 637 | Got args |
| 638 | Done |
| 639 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 640 | Result: ✅ PASSED |
| 641 | |
| 642 | ==================== Summary ==================== |
| 643 | Results: 36 passed, 0 failed |
| 644 | ~/git/nc mast |