Fix tests
This commit is contained in:
parent
7d01d51e9f
commit
eed6603c0a
@ -9,28 +9,28 @@ src/test/ui/allocator/xcrate-use.rs
|
|||||||
src/test/ui/allocator/xcrate-use2.rs
|
src/test/ui/allocator/xcrate-use2.rs
|
||||||
src/test/ui/asm/may_unwind.rs
|
src/test/ui/asm/may_unwind.rs
|
||||||
src/test/ui/asm/x86_64/const.rs
|
src/test/ui/asm/x86_64/const.rs
|
||||||
|
src/test/ui/asm/x86_64/issue-96797.rs
|
||||||
src/test/ui/asm/x86_64/multiple-clobber-abi.rs
|
src/test/ui/asm/x86_64/multiple-clobber-abi.rs
|
||||||
src/test/ui/async-await/async-fn-size-moved-locals.rs
|
src/test/ui/async-await/async-fn-size-moved-locals.rs
|
||||||
src/test/ui/async-await/async-fn-size-uninit-locals.rs
|
src/test/ui/async-await/async-fn-size-uninit-locals.rs
|
||||||
src/test/ui/backtrace.rs
|
|
||||||
src/test/ui/cfg/cfg-panic.rs
|
src/test/ui/cfg/cfg-panic.rs
|
||||||
src/test/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs
|
src/test/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs
|
||||||
src/test/ui/functions-closures/parallel-codegen-closures.rs
|
src/test/ui/functions-closures/parallel-codegen-closures.rs
|
||||||
src/test/ui/generator/size-moved-locals.rs
|
src/test/ui/generator/size-moved-locals.rs
|
||||||
src/test/ui/issues/issue-32518.rs
|
src/test/ui/issues/issue-40883.rs
|
||||||
src/test/ui/issues/issue-47364.rs
|
src/test/ui/issues/issue-47364.rs
|
||||||
src/test/ui/issues/issue-74564-if-expr-stack-overflow.rs
|
|
||||||
src/test/ui/linkage-attr/linkage1.rs
|
src/test/ui/linkage-attr/linkage1.rs
|
||||||
src/test/ui/lto/dylib-works.rs
|
src/test/ui/lto/dylib-works.rs
|
||||||
src/test/ui/mir/mir_heavy_promoted.rs
|
src/test/ui/macros/rfc-2011-nicer-assert-messages/all-not-available-cases.rs
|
||||||
|
src/test/ui/macros/rfc-2011-nicer-assert-messages/assert-without-captures-does-not-create-unnecessary-code.rs
|
||||||
src/test/ui/numbers-arithmetic/saturating-float-casts.rs
|
src/test/ui/numbers-arithmetic/saturating-float-casts.rs
|
||||||
src/test/ui/polymorphization/promoted-function.rs
|
src/test/ui/polymorphization/promoted-function.rs
|
||||||
|
src/test/ui/process/nofile-limit.rs
|
||||||
src/test/ui/runtime/rt-explody-panic-payloads.rs
|
src/test/ui/runtime/rt-explody-panic-payloads.rs
|
||||||
src/test/ui/sepcomp/sepcomp-cci.rs
|
src/test/ui/sepcomp/sepcomp-cci.rs
|
||||||
src/test/ui/sepcomp/sepcomp-extern.rs
|
src/test/ui/sepcomp/sepcomp-extern.rs
|
||||||
src/test/ui/sepcomp/sepcomp-fns-backwards.rs
|
src/test/ui/sepcomp/sepcomp-fns-backwards.rs
|
||||||
src/test/ui/sepcomp/sepcomp-fns.rs
|
src/test/ui/sepcomp/sepcomp-fns.rs
|
||||||
src/test/ui/sepcomp/sepcomp-lib.rs
|
|
||||||
src/test/ui/sepcomp/sepcomp-statics.rs
|
src/test/ui/sepcomp/sepcomp-statics.rs
|
||||||
src/test/ui/simd/generics.rs
|
src/test/ui/simd/generics.rs
|
||||||
src/test/ui/simd/intrinsic/float-math-pass.rs
|
src/test/ui/simd/intrinsic/float-math-pass.rs
|
||||||
|
7
test.sh
7
test.sh
@ -327,6 +327,7 @@ EOF
|
|||||||
git checkout src/test/ui/lto/auxiliary/dylib.rs
|
git checkout src/test/ui/lto/auxiliary/dylib.rs
|
||||||
git checkout src/test/ui/type-alias-impl-trait/auxiliary/cross_crate_ice.rs
|
git checkout src/test/ui/type-alias-impl-trait/auxiliary/cross_crate_ice.rs
|
||||||
git checkout src/test/ui/type-alias-impl-trait/auxiliary/cross_crate_ice2.rs
|
git checkout src/test/ui/type-alias-impl-trait/auxiliary/cross_crate_ice2.rs
|
||||||
|
git checkout src/test/ui/macros/rfc-2011-nicer-assert-messages/auxiliary/common.rs
|
||||||
|
|
||||||
RUSTC_ARGS="-Zpanic-abort-tests -Csymbol-mangling-version=v0 -Zcodegen-backend="$(pwd)"/../target/"$CHANNEL"/librustc_codegen_gcc."$dylib_ext" --sysroot "$(pwd)"/../build_sysroot/sysroot -Cpanic=abort"
|
RUSTC_ARGS="-Zpanic-abort-tests -Csymbol-mangling-version=v0 -Zcodegen-backend="$(pwd)"/../target/"$CHANNEL"/librustc_codegen_gcc."$dylib_ext" --sysroot "$(pwd)"/../build_sysroot/sysroot -Cpanic=abort"
|
||||||
|
|
||||||
@ -338,7 +339,7 @@ EOF
|
|||||||
xargs -a ../failing-ui-tests.txt -d'\n' rm
|
xargs -a ../failing-ui-tests.txt -d'\n' rm
|
||||||
else
|
else
|
||||||
# Removing all tests.
|
# Removing all tests.
|
||||||
find src/test/ui -type f -name '*.rs' -exec rm {} \;
|
find src/test/ui -type f -name '*.rs' -not -path '*/auxiliary/*' -delete
|
||||||
# Putting back only the failing ones.
|
# Putting back only the failing ones.
|
||||||
xargs -a ../failing-ui-tests.txt -d'\n' git checkout --
|
xargs -a ../failing-ui-tests.txt -d'\n' git checkout --
|
||||||
fi
|
fi
|
||||||
@ -354,7 +355,7 @@ EOF
|
|||||||
count=$((count + 1))
|
count=$((count + 1))
|
||||||
split -d -l $count -a 1 ui_tests ui_tests.split
|
split -d -l $count -a 1 ui_tests ui_tests.split
|
||||||
# Removing all tests.
|
# Removing all tests.
|
||||||
find src/test/ui -type f -name '*.rs' -not -path "*/auxiliary/*" -exec rm {} \;
|
find src/test/ui -type f -name '*.rs' -not -path "*/auxiliary/*" -delete
|
||||||
# Putting back only the ones we want to test.
|
# Putting back only the ones we want to test.
|
||||||
xargs -a "ui_tests.split$current_part" -d'\n' git checkout --
|
xargs -a "ui_tests.split$current_part" -d'\n' git checkout --
|
||||||
fi
|
fi
|
||||||
@ -372,7 +373,7 @@ function test_successful_rustc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clean_ui_tests() {
|
function clean_ui_tests() {
|
||||||
find rust/build/x86_64-unknown-linux-gnu/test/ui/ -name stamp -exec rm -rf {} \;
|
find rust/build/x86_64-unknown-linux-gnu/test/ui/ -name stamp -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
function all() {
|
function all() {
|
||||||
|
Loading…
Reference in New Issue
Block a user