mirror of
https://github.com/kmc7468/cs420.git
synced 2026-11-04 00:00:29 +09:00
Add tests for O1
This commit is contained in:
1 parent
86c2194c0e
commit
71b0c820f5
1 file changed
+9
@@ -190,6 +190,15 @@ fn test_examples_gvn() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_examples_optimize() {
|
||||
test_opt_between_dirs(
|
||||
&Path::new("examples/ir0"),
|
||||
&Path::new("examples/opt"),
|
||||
&mut O1::default(),
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_examples_asmgen_small() {
|
||||
for dir in ASMGEN_TEST_DIR_LIST.iter() {
|
||||
|
||||
Reference in new issue
Block a user