Update skeleton

This commit is contained in:
Jeehoon Kang
2020-06-21 21:38:51 +09:00
parent f4611c6eef
commit 98505a6179
3 changed files with 16 additions and 11 deletions

View File

@@ -216,7 +216,12 @@ pub fn test_opt<P1: AsRef<Path>, P2: AsRef<Path>, O: Optimize<ir::TranslationUni
pub fn test_asmgen(path: &Path) {
// TODO: delete ignore list in the future
let ignore_list = vec!["examples/asmgen/struct3.ir"];
let ignore_list = vec![
"examples/asmgen/struct.ir",
"examples/asmgen/struct2.ir",
"examples/asmgen/struct3.ir",
"examples/asmgen/temp2.ir",
];
if ignore_list.contains(&path.to_str().expect("`path` must be transformed to `&str`")) {
println!("skip test");
return;