mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-14 22:38:46 +00:00
Add tests for O1
This commit is contained in:
@@ -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