@@ -11,7 +11,7 @@ use rattler_build_recipe::stage1::{
1111 TestType ,
1212 tests:: { CommandsTest , DownstreamTest , PerlTest , PythonTest , PythonVersion , RTest , RubyTest } ,
1313} ;
14- use rattler_build_script:: { Debug as ScriptDebug , Script , ScriptContent } ;
14+ use rattler_build_script:: { Script , ScriptContent } ;
1515use rattler_conda_types:: {
1616 Channel , ChannelUrl , MatchSpec , ParseStrictness , Platform ,
1717 compression_level:: CompressionLevel ,
@@ -38,11 +38,8 @@ use rattler::package_cache::PackageCache;
3838use rattler_cache:: validation:: ValidationMode ;
3939
4040use crate :: {
41- env_vars,
42- metadata:: { Debug , PlatformWithVirtualPackages } ,
43- render:: solver:: create_environment,
44- source:: copy_dir:: CopyDir ,
45- tool_configuration,
41+ env_vars, metadata:: PlatformWithVirtualPackages , render:: solver:: create_environment,
42+ source:: copy_dir:: CopyDir , tool_configuration,
4643} ;
4744
4845#[ allow( missing_docs) ]
@@ -201,7 +198,6 @@ impl Tests {
201198 None ,
202199 None :: < fn ( & str ) -> Result < String , String > > ,
203200 None ,
204- ScriptDebug :: new ( false ) ,
205201 )
206202 . await
207203 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -222,7 +218,6 @@ impl Tests {
222218 None ,
223219 None :: < fn ( & str ) -> Result < String , String > > ,
224220 None ,
225- ScriptDebug :: new ( false ) ,
226221 )
227222 . await
228223 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -291,8 +286,6 @@ pub struct TestConfiguration {
291286 pub tool_configuration : tool_configuration:: Configuration ,
292287 /// The output directory to create the test prefixes in (will be `output_dir/test`)
293288 pub output_dir : PathBuf ,
294- /// Debug mode yes, or no
295- pub debug : Debug ,
296289 /// Exclude packages newer than this date from the solver
297290 pub exclude_newer : Option < chrono:: DateTime < chrono:: Utc > > ,
298291}
@@ -751,7 +744,6 @@ async fn run_python_test_inner(
751744 None ,
752745 None :: < fn ( & str ) -> Result < String , String > > ,
753746 None ,
754- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
755747 )
756748 . await
757749 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -775,7 +767,6 @@ async fn run_python_test_inner(
775767 None ,
776768 None :: < fn ( & str ) -> Result < String , String > > ,
777769 None ,
778- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
779770 )
780771 . await
781772 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -858,7 +849,6 @@ async fn run_perl_test(
858849 None ,
859850 None :: < fn ( & str ) -> Result < String , String > > ,
860851 None ,
861- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
862852 )
863853 . await
864854 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -977,7 +967,6 @@ async fn run_commands_test(
977967 build_prefix. as_ref ( ) ,
978968 None :: < fn ( & str ) -> Result < String , String > > ,
979969 None ,
980- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
981970 )
982971 . await
983972 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -1162,7 +1151,6 @@ async fn run_r_test(
11621151 None ,
11631152 None :: < fn ( & str ) -> Result < String , String > > ,
11641153 None ,
1165- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
11661154 )
11671155 . await
11681156 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
@@ -1240,7 +1228,6 @@ async fn run_ruby_test(
12401228 None ,
12411229 None :: < fn ( & str ) -> Result < String , String > > ,
12421230 None ,
1243- ScriptDebug :: new ( config. debug . is_enabled ( ) ) ,
12441231 )
12451232 . await
12461233 . map_err ( |e| TestError :: TestFailed ( e. to_string ( ) ) ) ?;
0 commit comments