@@ -21,87 +21,87 @@ pub enum mode {
21
21
#[ deriving( Clone ) ]
22
22
pub struct config {
23
23
// The library paths required for running the compiler
24
- compile_lib_path : ~str ,
24
+ pub compile_lib_path : ~str ,
25
25
26
26
// The library paths required for running compiled programs
27
- run_lib_path : ~str ,
27
+ pub run_lib_path : ~str ,
28
28
29
29
// The rustc executable
30
- rustc_path : Path ,
30
+ pub rustc_path : Path ,
31
31
32
32
// The clang executable
33
- clang_path : Option < Path > ,
33
+ pub clang_path : Option < Path > ,
34
34
35
35
// The llvm binaries path
36
- llvm_bin_path : Option < Path > ,
36
+ pub llvm_bin_path : Option < Path > ,
37
37
38
38
// The directory containing the tests to run
39
- src_base : Path ,
39
+ pub src_base : Path ,
40
40
41
41
// The directory where programs should be built
42
- build_base : Path ,
42
+ pub build_base : Path ,
43
43
44
44
// Directory for auxiliary libraries
45
- aux_base : Path ,
45
+ pub aux_base : Path ,
46
46
47
47
// The name of the stage being built (stage1, etc)
48
- stage_id : ~str ,
48
+ pub stage_id : ~str ,
49
49
50
50
// The test mode, compile-fail, run-fail, run-pass
51
- mode : mode ,
51
+ pub mode : mode ,
52
52
53
53
// Run ignored tests
54
- run_ignored : bool ,
54
+ pub run_ignored : bool ,
55
55
56
56
// Only run tests that match this filter
57
- filter : Option < ~str > ,
57
+ pub filter : Option < ~str > ,
58
58
59
59
// Write out a parseable log of tests that were run
60
- logfile : Option < Path > ,
60
+ pub logfile : Option < Path > ,
61
61
62
62
// Write out a json file containing any metrics of the run
63
- save_metrics : Option < Path > ,
63
+ pub save_metrics : Option < Path > ,
64
64
65
65
// Write and ratchet a metrics file
66
- ratchet_metrics : Option < Path > ,
66
+ pub ratchet_metrics : Option < Path > ,
67
67
68
68
// Percent change in metrics to consider noise
69
- ratchet_noise_percent : Option < f64 > ,
69
+ pub ratchet_noise_percent : Option < f64 > ,
70
70
71
- // "Shard" of the testsuite to run: this has the form of
71
+ // "Shard" of the testsuite to pub run: this has the form of
72
72
// two numbers (a,b), and causes only those tests with
73
73
// positional order equal to a mod b to run.
74
- test_shard : Option < ( uint , uint ) > ,
74
+ pub test_shard : Option < ( uint , uint ) > ,
75
75
76
76
// A command line to prefix program execution with,
77
77
// for running under valgrind
78
- runtool : Option < ~str > ,
78
+ pub runtool : Option < ~str > ,
79
79
80
80
// Flags to pass to the compiler when building for the host
81
- host_rustcflags : Option < ~str > ,
81
+ pub host_rustcflags : Option < ~str > ,
82
82
83
83
// Flags to pass to the compiler when building for the target
84
- target_rustcflags : Option < ~str > ,
84
+ pub target_rustcflags : Option < ~str > ,
85
85
86
86
// Run tests using the JIT
87
- jit : bool ,
87
+ pub jit : bool ,
88
88
89
89
// Target system to be tested
90
- target : ~str ,
90
+ pub target : ~str ,
91
91
92
92
// Host triple for the compiler being invoked
93
- host : ~str ,
93
+ pub host : ~str ,
94
94
95
95
// Extra parameter to run adb on arm-linux-androideabi
96
- adb_path : ~str ,
96
+ pub adb_path : ~str ,
97
97
98
98
// Extra parameter to run test sute on arm-linux-androideabi
99
- adb_test_dir : ~str ,
99
+ pub adb_test_dir : ~str ,
100
100
101
101
// status whether android device available or not
102
- adb_device_status : bool ,
102
+ pub adb_device_status : bool ,
103
103
104
104
// Explain what's going on
105
- verbose : bool
105
+ pub verbose : bool
106
106
107
107
}
0 commit comments