Skip to content

Commit

Permalink
Update to working state
Browse files Browse the repository at this point in the history
  • Loading branch information
volsa committed Jun 12, 2024
1 parent 7c80402 commit d6b3581
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ function run_lit_test() {
cargo build
cargo build --release

lit -v -DCOMPILER=$project_location/target/debug/plc tests/lit/
lit -v -DCOMPILER=$project_location/target/release/plc tests/lit/
lit -DCOMPILER=$project_location/target/debug/plc tests/lit/
lit -DCOMPILER=$project_location/target/release/plc tests/lit/
}

function run_test() {
Expand Down
6 changes: 3 additions & 3 deletions tests/lit/single/arithmetic/addition.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ FUNCTION main
y : DINT;
END_VAR

x := 60;
y := 9;
x := 5;
y := 5;
printf('%d$N', x + y);
// CHECK: 68
// CHECK: 10
END_FUNCTION

0 comments on commit d6b3581

Please sign in to comment.