File: gate-tests.patch

package info (click to toggle)
rust-abscissa-core 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 420 kB
  • sloc: makefile: 4
file content (22 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/tests/component.rs b/tests/component.rs
index 0faca48..28c081c 100644
--- a/tests/component.rs
+++ b/tests/component.rs
@@ -1,5 +1,5 @@
 //! Tests for Abscissa's component functionality
-
+#![cfg(feature = "default")]
 mod example_app;
 
 use self::example_app::{ExampleApp, ExampleConfig};
diff --git a/tests/example_app/mod.rs b/tests/example_app/mod.rs
index 52b897f..5bedb28 100644
--- a/tests/example_app/mod.rs
+++ b/tests/example_app/mod.rs
@@ -1,5 +1,5 @@
 //! Example application used for testing purposes
-
+#![cfg(feature = "default")]
 use abscissa_core::{
     application, clap::Parser, config, Application, Command, Configurable, FrameworkError,
     Runnable, StandardPaths,