@@ -170,28 +170,6 @@ impl InternalsOpts {
170
170
const GENERATOR_BIN : & ' static str = "bootc-systemd-generator" ;
171
171
}
172
172
173
- /// Options for internal testing
174
- #[ derive( Debug , clap:: Subcommand , PartialEq , Eq ) ]
175
- pub ( crate ) enum TestingOpts {
176
- /// Execute integration tests that require a privileged container
177
- RunPrivilegedIntegration { } ,
178
- /// Execute integration tests that target a not-privileged ostree container
179
- RunContainerIntegration { } ,
180
- /// Block device setup for testing
181
- PrepTestInstallFilesystem { blockdev : Utf8PathBuf } ,
182
- /// e2e test of install to-filesystem
183
- TestInstallFilesystem {
184
- image : String ,
185
- blockdev : Utf8PathBuf ,
186
- } ,
187
- #[ clap( name = "verify-selinux" ) ]
188
- VerifySELinux {
189
- root : String ,
190
- #[ clap( long) ]
191
- warn : bool ,
192
- } ,
193
- }
194
-
195
173
/// Deploy and transactionally in-place with bootable container images.
196
174
///
197
175
/// The `bootc` project currently uses ostree-containers as a backend
@@ -314,10 +292,6 @@ pub(crate) enum Opt {
314
292
#[ clap( subcommand) ]
315
293
#[ clap( hide = true ) ]
316
294
Internals ( InternalsOpts ) ,
317
- /// Internal integration testing helpers.
318
- #[ clap( hide( true ) , subcommand) ]
319
- #[ cfg( feature = "internal-testing-api" ) ]
320
- InternalTests ( TestingOpts ) ,
321
295
#[ clap( hide( true ) ) ]
322
296
#[ cfg( feature = "docgen" ) ]
323
297
Man ( ManOpts ) ,
@@ -714,8 +688,6 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
714
688
}
715
689
InternalsOpts :: FixupEtcFstab => crate :: deploy:: fixup_etc_fstab ( & root) ,
716
690
} ,
717
- #[ cfg( feature = "internal-testing-api" ) ]
718
- Opt :: InternalTests ( opts) => crate :: privtests:: run ( opts) . await ,
719
691
#[ cfg( feature = "docgen" ) ]
720
692
Opt :: Man ( manopts) => crate :: docgen:: generate_manpages ( & manopts. directory ) ,
721
693
}
0 commit comments