-
Notifications
You must be signed in to change notification settings - Fork 8
/
runt.toml
45 lines (38 loc) · 1.03 KB
/
runt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ver = "0.4.0"
[[tests]]
name = "compile vivado"
paths = [ "file-tests/should-compile/*.fuse" ]
cmd = "./fuse {} -l error | tail -n+2"
expect_dir = "file-tests/vivado-out"
[[tests]]
name = "compile cpp"
paths = [ "file-tests/should-run/*.fuse" ]
cmd = "./fuse {} -b c++ -l error | tail -n+2"
expect_dir = "file-tests/cpp-out"
[[tests]]
name = "compile lower"
paths = [ "file-tests/should-lower/*.fuse" ]
cmd = "./fuse {} --lower -b c++ -l error | tail -n+2"
[[tests]]
name = "compile futil"
paths = [ "file-tests/should-futil/*.fuse" ]
cmd = "./fuse {} --lower -b futil -l error | tail -n+2"
[[tests]]
name = "fail"
paths = [ "file-tests/should-fail/*.fuse" ]
cmd = "./fuse {}"
[[tests]]
name = "run"
paths = [ "file-tests/should-run/*.fuse" ]
cmd = """
./bin/run-dahlia {} "-l error -b c++"
"""
expect_dir = "file-tests/data"
[[tests]]
name = "run lower"
paths = [ "file-tests/should-lower-run/*.fuse" ]
cmd = """
./bin/run-dahlia {} "-b c++ --lower -l error"
"""
# Should compute the same results as should run
expect_dir = "file-tests/data"