forked from G-CLI/G-CLI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
24 lines (18 loc) · 838 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
g_cli_args := " -v --lv-ver 2015"
lv_proj := "\"LabVIEW Source\\G CLI.lvproj\""
rust-test:
cd rust-proxy && cargo fmt --check
cd rust-proxy && cargo clippy
cd rust-proxy && cargo test --lib
unit-test:
g-cli {{g_cli_args}} viTester -- {{lv_proj}} -xml "lv-results.xml"
build-integration-test:
g-cli {{g_cli_args}} lvBuild -- {{lv_proj}} "CWD Test"
g-cli {{g_cli_args}} lvBuild -- {{lv_proj}} "Echo Test"
g-cli {{g_cli_args}} lvBuild -- {{lv_proj}} "Large Output Test"
g-cli {{g_cli_args}} lvBuild -- {{lv_proj}} "Quit with Code Test"
g-cli {{g_cli_args}} lvBuild -- {{lv_proj}} "Test In Packed Library"
integration-test:
cd rust-proxy && cargo test --test '*' -- --test-threads=1
integration-test-with-build: build-integration-test integration-test