From a6879b03177b40961114856cd932f8af070deeca Mon Sep 17 00:00:00 2001 From: Gabriel Smith Date: Tue, 5 Nov 2024 08:59:52 -0500 Subject: [PATCH] systest: Switch to ctest2 https://github.com/gnzlbg/ctest/issues/70 ctest2 is not perfect (see https://github.com/JohnTitor/ctest2/issues/6 and other issues), but it is better than nothing and works for now. --- systest/Cargo.toml | 2 +- systest/build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/systest/Cargo.toml b/systest/Cargo.toml index dd7815553..09e06f5fc 100644 --- a/systest/Cargo.toml +++ b/systest/Cargo.toml @@ -9,4 +9,4 @@ libssh2-sys = { path = "../libssh2-sys" } libc = "0.2" [build-dependencies] -ctest = "0.2" +ctest2 = "0.4" diff --git a/systest/build.rs b/systest/build.rs index 0d5773fc0..6fbdf1661 100644 --- a/systest/build.rs +++ b/systest/build.rs @@ -1,9 +1,9 @@ -extern crate ctest; +extern crate ctest2; use std::env; fn main() { - let mut cfg = ctest::TestGenerator::new(); + let mut cfg = ctest2::TestGenerator::new(); cfg.header("libssh2.h") .header("libssh2_publickey.h") .header("libssh2_sftp.h")