diff options
| author | 2024-10-15 11:40:26 -0400 | |
|---|---|---|
| committer | 2024-10-15 11:40:26 -0400 | |
| commit | 6295ae273d4a15b60b580344b986986d004c22ad (patch) | |
| tree | ea8eb39136ab6f128a5388ad656c0b899a91997d /test/run_tests.lua | |
| parent | v0.2.3 (diff) | |
updated help messages
Diffstat (limited to '')
| -rw-r--r-- | test/run_tests.lua | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/test/run_tests.lua b/test/run_tests.lua index 39749d3..0f5c5bd 100644 --- a/test/run_tests.lua +++ b/test/run_tests.lua @@ -19,18 +19,34 @@ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. print("Starting Lunar Shell End-to-End Testing...\n") print("Entering Debug Mode...") lush.debug(true) +local rc = true print("Testing Args...") -lush.exec("args_test.lua testarg1 testarg2 testarg3") +rc = lush.exec("args_test.lua testarg1 testarg2 testarg3") +if rc == false then + lush.exit() +end print("\nTesting Chaining...") -lush.exec("chaining_test.lua") +rc = lush.exec("chaining_test.lua") +if rc == false then + lush.exit() +end print("\nTesting File Checks...") -lush.exec("filecheck_test.lua") +rc = lush.exec("filecheck_test.lua") +if rc == false then + lush.exit() +end print("\nTesting History...") -lush.exec("history_test.lua") +rc = lush.exec("history_test.lua") +if rc == false then + lush.exit() +end print("\nTesting Environment Variables...") -lush.exec("env_test.lua") +rc = lush.exec("env_test.lua") +if rc == false then + lush.exit() +end |
