aboutsummaryrefslogtreecommitdiffstats
path: root/components/std_test_override/lib.rs
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2023-10-26 16:22:14 +0800
committerGitHub <noreply@github.com>2023-10-26 08:22:14 +0000
commita3d2f0c586e97e26906bd2327395186bf140f49b (patch)
treeb21cbb63ae0695b93e6ef569691ef2fbbaf2b264 /components/std_test_override/lib.rs
parent88234309b04057d7474e51131a806105032acc28 (diff)
downloadservo-a3d2f0c586e97e26906bd2327395186bf140f49b.tar.gz
servo-a3d2f0c586e97e26906bd2327395186bf140f49b.zip
Enable debug assertions for all builds other than official releases (#30509)
* Run main and try jobs with debug assertions * use single quotes in workflow expressions * set force-debug-assertions in main.yml * set force-debug-assertions as part of decision job * fix typo in MachCommands.build * fix more hardcoded profile names * fix tidy * split cargo_profile_option on windows * Fix running servoshell and unit tests through a symlink * rename steps to make them less confusing * fix more hardcoded cargo profile options * fix missing inputs in linux-wpt and mac-wpt * make filename an inherent method of Resource * rework release-with-debug-assertions profile to production profile * rework resource logic to eliminate std_test_override * set production flag in nightly release builds * clean up servobuild.example and windows.yml * oops forgot to check in embedder_traits/build.rs * fix mach test-unit behaviour through symlink * unit tests only need current_dir and ancestors * fix macOS package smoketest breakage * expect css/css-color/currentcolor-003 to crash under layout 2013 * fix more references to {force,release-with}-debug-assertions * fix local build failures under --profile production
Diffstat (limited to 'components/std_test_override/lib.rs')
-rw-r--r--components/std_test_override/lib.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/components/std_test_override/lib.rs b/components/std_test_override/lib.rs
deleted file mode 100644
index 0d3d26c2fbf..00000000000
--- a/components/std_test_override/lib.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-
-#![feature(test)]
-
-extern crate test;
-
-pub use test::*;
-
-pub fn test_main_static(tests: &[&TestDescAndFn]) {
- embedder_traits::resources::set_for_tests();
- test::test_main_static(tests);
-}