@@ -114,6 +114,17 @@ fn test_sysroot() -> Path {
114
114
}
115
115
116
116
#[ test]
117
+ fn test_all ( ) {
118
+ // FIXME(#7071): these tests use rustc, so they can't be run in parallel
119
+ // until this issue is resolved
120
+ test_make_dir_rwx ( ) ;
121
+ test_install_valid ( ) ;
122
+ test_install_invalid ( ) ;
123
+ test_install_url ( ) ;
124
+ test_package_ids_must_be_relative_path_like ( ) ;
125
+ test_package_version ( ) ;
126
+ }
127
+
117
128
fn test_make_dir_rwx ( ) {
118
129
let temp = & os:: tmpdir ( ) ;
119
130
let dir = temp. push ( "quux" ) ;
@@ -126,7 +137,6 @@ fn test_make_dir_rwx() {
126
137
assert ! ( os:: remove_dir_recursive( & dir) ) ;
127
138
}
128
139
129
- #[ test]
130
140
fn test_install_valid ( ) {
131
141
use path_util:: installed_library_in_workspace;
132
142
@@ -155,7 +165,6 @@ fn test_install_valid() {
155
165
assert ! ( !os:: path_exists( & bench) ) ;
156
166
}
157
167
158
- #[ test]
159
168
fn test_install_invalid ( ) {
160
169
use conditions:: nonexistent_package:: cond;
161
170
use cond1 = conditions:: missing_pkg_files:: cond;
@@ -178,7 +187,6 @@ fn test_install_invalid() {
178
187
assert ! ( error_occurred && error1_occurred) ;
179
188
}
180
189
181
- #[ test]
182
190
fn test_install_url ( ) {
183
191
let workspace = mkdtemp ( & os:: tmpdir ( ) , "test" ) . expect ( "couldn't create temp dir" ) ;
184
192
let sysroot = test_sysroot ( ) ;
@@ -214,7 +222,6 @@ fn test_install_url() {
214
222
assert ! ( !os:: path_exists( & bench) ) ;
215
223
}
216
224
217
- #[ test]
218
225
fn test_package_ids_must_be_relative_path_like ( ) {
219
226
use conditions:: bad_pkg_id:: cond;
220
227
@@ -255,7 +262,6 @@ fn test_package_ids_must_be_relative_path_like() {
255
262
256
263
}
257
264
258
- #[test]
259
265
fn test_package_version() {
260
266
let temp_pkg_id = PkgId::new(" github. com/catamorphism/test_pkg_version");
261
267
match temp_pkg_id.version {
0 commit comments