@@ -8,7 +8,10 @@ use test_utils::tempdir_with_tool_versions;
88use toml_edit:: ImDocument ;
99
1010#[ test]
11- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
11+ #[ cfg_attr(
12+ not( feature = "test_for_multiple_scarb_versions" ) ,
13+ ignore = "Multiple scarb versions must be installed"
14+ ) ]
1215fn new_with_new_scarb ( ) {
1316 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
1417 runner ( & temp)
@@ -39,7 +42,10 @@ fn new_with_new_scarb() {
3942}
4043
4144#[ test]
42- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
45+ #[ cfg_attr(
46+ not( feature = "test_for_multiple_scarb_versions" ) ,
47+ ignore = "Multiple scarb versions must be installed"
48+ ) ]
4349fn new_with_old_scarb ( ) {
4450 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
4551 Command :: new ( "asdf" )
@@ -75,7 +81,10 @@ fn new_with_old_scarb() {
7581}
7682
7783#[ test]
78- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
84+ #[ cfg_attr(
85+ not( feature = "test_for_multiple_scarb_versions" ) ,
86+ ignore = "Multiple scarb versions must be installed"
87+ ) ]
7988fn new_scarb_new_macros ( ) {
8089 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
8190 runner ( & temp)
@@ -112,7 +121,10 @@ fn new_scarb_new_macros() {
112121}
113122
114123#[ test]
115- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
124+ #[ cfg_attr(
125+ not( feature = "test_for_multiple_scarb_versions" ) ,
126+ ignore = "Multiple scarb versions must be installed"
127+ ) ]
116128fn new_scarb_deprecated_macros ( ) {
117129 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
118130 runner ( & temp)
@@ -157,7 +169,10 @@ fn new_scarb_deprecated_macros() {
157169}
158170
159171#[ test]
160- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
172+ #[ cfg_attr(
173+ not( feature = "test_for_multiple_scarb_versions" ) ,
174+ ignore = "Multiple scarb versions must be installed"
175+ ) ]
161176fn new_scarb_old_macros ( ) {
162177 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
163178 runner ( & temp)
@@ -183,7 +198,10 @@ fn new_scarb_old_macros() {
183198}
184199
185200#[ test]
186- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
201+ #[ cfg_attr(
202+ not( feature = "test_for_multiple_scarb_versions" ) ,
203+ ignore = "Multiple scarb versions must be installed"
204+ ) ]
187205fn old_scarb_new_macros ( ) {
188206 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
189207 Command :: new ( "asdf" )
@@ -217,7 +235,10 @@ fn old_scarb_new_macros() {
217235}
218236
219237#[ test]
220- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
238+ #[ cfg_attr(
239+ not( feature = "test_for_multiple_scarb_versions" ) ,
240+ ignore = "Multiple scarb versions must be installed"
241+ ) ]
221242fn old_scarb_deprecated_macros ( ) {
222243 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
223244 Command :: new ( "asdf" )
@@ -264,7 +285,10 @@ fn old_scarb_deprecated_macros() {
264285}
265286
266287#[ test]
267- #[ cfg_attr( feature = "skip_plugin_checks" , ignore = "Plugin checks skipped" ) ]
288+ #[ cfg_attr(
289+ not( feature = "test_for_multiple_scarb_versions" ) ,
290+ ignore = "Multiple scarb versions must be installed"
291+ ) ]
268292fn old_scarb_old_macros ( ) {
269293 let temp = tempdir_with_tool_versions ( ) . unwrap ( ) ;
270294 Command :: new ( "asdf" )
0 commit comments