Skip to content

Commit

Permalink
Remove old UI test (#1289)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Liam Aharon <[email protected]>
  • Loading branch information
2 people authored and bkchr committed Aug 30, 2023
1 parent ea041dc commit d13958e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 47 deletions.
9 changes: 4 additions & 5 deletions .gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ test-deterministic-wasm:
- .common-refs
# DAG
needs:
- job: test-frame-support
- job: test-frame-ui
artifacts: false
script:
- .gitlab/test_deterministic_wasm.sh
Expand Down Expand Up @@ -295,7 +295,7 @@ node-bench-regression-guard:

# if this fails (especially after rust version upgrade) run
# ./substrate/.maintain/update-rust-stable.sh <rust_version>
test-frame-support:
test-frame-ui:
stage: test
extends:
- .docker-env
Expand All @@ -314,9 +314,8 @@ test-frame-support:
# Ensure we run the UI tests.
RUN_UI_TESTS: 1
script:
- time cargo test --locked -p frame-support-test --features=frame-feature-testing,no-metadata-docs,try-runtime,experimental --manifest-path ./substrate/frame/support/test/Cargo.toml
- time cargo test --locked -p frame-support-test --features=frame-feature-testing,frame-feature-testing-2,no-metadata-docs,try-runtime,experimental --manifest-path ./substrate/frame/support/test/Cargo.toml
- SUBSTRATE_TEST_TIMEOUT=1 time cargo test -p substrate-test-utils --release --locked -- --ignored timeout
- time cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,no-metadata-docs,try-runtime,experimental
- time cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,frame-feature-testing-2,no-metadata-docs,try-runtime,experimental
- cat /cargo_target_dir/debug/.fingerprint/memory_units-759eddf317490d2b/lib-memory_units.json || true

# This job runs all benchmarks defined in the `/bin/node/runtime` once to check that there are no errors.
Expand Down
3 changes: 3 additions & 0 deletions substrate/frame/support/test/tests/construct_runtime_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ fn ui() {
// As trybuild is using `cargo check`, we don't need the real WASM binaries.
std::env::set_var("SKIP_WASM_BUILD", "1");

// Deny all warnings since we emit warnings as part of a Runtime's UI.
std::env::set_var("RUSTFLAGS", "--deny warnings");

let t = trybuild::TestCases::new();
t.compile_fail("tests/construct_runtime_ui/*.rs");
}

This file was deleted.

This file was deleted.

0 comments on commit d13958e

Please sign in to comment.