Skip to content

Commit 2f89c74

Browse files
authored
Implement Rust CLI tests (#372)
# Description Closes #365 Ports all `resolc` CLI tests to Rust and removes the CLI TypeScript tests.
1 parent ea0ea71 commit 2f89c74

31 files changed

+2790
-10069
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,3 @@ jobs:
5656

5757
- name: Test cargo workspace
5858
run: make test-workspace
59-
60-
- name: Test CLI
61-
run: make test-cli

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
test-integration \
1515
test-resolc \
1616
test-workspace \
17-
test-cli \
1817
test-wasm \
1918
test-llvm-builder
2019
bench \
@@ -57,7 +56,7 @@ machete:
5756
cargo install cargo-machete
5857
cargo machete
5958

60-
test: format clippy machete test-cli test-workspace install-revive-runner install-revive-explorer
59+
test: format clippy machete test-workspace install-revive-runner install-revive-explorer
6160

6261
test-integration: install-bin
6362
cargo test --package revive-integration
@@ -68,9 +67,6 @@ test-resolc: install
6867
test-workspace: install
6968
cargo test --workspace --exclude revive-llvm-builder
7069

71-
test-cli: install
72-
npm run test:cli
73-
7470
test-wasm: install-wasm
7571
npm run test:wasm
7672

@@ -94,6 +90,6 @@ clean:
9490
cargo clean ; \
9591
revive-llvm clean ; \
9692
rm -rf node_modules ; \
97-
rm -rf crates/resolc/src/tests/cli-tests/artifacts ; \
93+
rm -rf crates/resolc/src/tests/cli/artifacts ; \
9894
cargo uninstall resolc ; \
9995
cargo uninstall revive-llvm-builder ;

crates/resolc/src/tests/cli-tests/jest.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

crates/resolc/src/tests/cli-tests/junit.xml

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)