From d6b35816b1dfae16f6d3eaeac5eccae55e557b09 Mon Sep 17 00:00:00 2001 From: Volkan Sagcan Date: Wed, 12 Jun 2024 16:41:53 +0200 Subject: [PATCH] Update to working state --- scripts/build.sh | 4 ++-- tests/lit/single/arithmetic/addition.st | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index c3273ab75de..e2d5089bbdb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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() { diff --git a/tests/lit/single/arithmetic/addition.st b/tests/lit/single/arithmetic/addition.st index 9f1b8c67068..ac997c0b8fd 100644 --- a/tests/lit/single/arithmetic/addition.st +++ b/tests/lit/single/arithmetic/addition.st @@ -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