Skip to content

Commit c92e941

Browse files
committed
Merge branch 'main' into ctest-next-test-port
2 parents b474ed8 + fecc86e commit c92e941

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ctest-test/tests/all.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ fn output(cmd: &mut Command) -> (String, ExitStatus) {
2727
}
2828

2929
#[test]
30-
fn t1_next() {
30+
fn t1() {
3131
// t1 must run to completion without any errors.
32-
let (output, status) = output(&mut cmd("t1-next"));
32+
let (output, status) = output(&mut cmd("t1"));
3333
assert!(status.success(), "output: {output}");
3434
assert!(!output.contains("bad "), "{output}");
3535
eprintln!("output: {output}");
3636
}
3737

3838
#[test]
39-
fn t2_next() {
39+
fn t2() {
4040
// t2 must fail to run to completion, and only have the errors we expect it to have.
41-
let (output, status) = output(&mut cmd("t2-next"));
41+
let (output, status) = output(&mut cmd("t2"));
4242
assert!(!status.success(), "output: {output}");
4343

4444
// FIXME(ctest): Errors currently commented out are not tested.

libc-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3513,7 +3513,7 @@ fn test_neutrino(target: &str) {
35133513
)
35143514
});
35153515

3516-
cfg.skip_static(move |name| (name == "__dso_handle"));
3516+
cfg.skip_static(move |name| name == "__dso_handle");
35173517

35183518
cfg.generate(src_hotfix_dir().join("lib.rs"), "main.rs");
35193519
}

0 commit comments

Comments
 (0)