From bbd93ed16f73ff40c4db82de3f5dcb47c95f5536 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Mon, 8 Apr 2024 12:11:02 +0300 Subject: [PATCH] update tests Signed-off-by: George Lemon --- tests/test1.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test1.nim b/tests/test1.nim index 9fceac3..495f12d 100644 --- a/tests/test1.nim +++ b/tests/test1.nim @@ -4,7 +4,7 @@ when not defined skipbuild: var addons = ["myaddon", "myobject", "mypromise", "myexceptions"] test "can build addons with node-gyp": for addonName in addons: - let status = execCmdEx("denim build ./tests/" & addonName & ".nim --yes") + let status = execCmdEx("denim build ./tests/" & addonName & ".nim -y") echo "[OK] " & addonName & ".nim" if status.exitCode != 0: echo status.output @@ -12,7 +12,7 @@ when not defined skipbuild: test "can build addons with CMake": for addonName in addons: - let status = execCmdEx("denim build ./tests/" & addonName & ".nim --cmake --yes") + let status = execCmdEx("denim build ./tests/" & addonName & ".nim --cmake -y") echo "[OK] " & addonName & ".nim" if status.exitCode != 0: echo status.output