@@ -21,19 +21,19 @@ firrtl.circuit "AssignOutputDirs" {
21
21
firrtl.module private @ByRC () {}
22
22
23
23
// A -> A
24
- // CHECK: firrtl.module private @ByA() attributes {output_file = #hw.output_file<"A/ ">} {
24
+ // CHECK: firrtl.module private @ByA() attributes {output_file = #hw.output_file<"A{{/|\\\\}} ">} {
25
25
firrtl.module private @ByA () {}
26
26
27
27
// A & B -> R
28
28
// firrtl.module private @ByAB() {
29
29
firrtl.module private @ByAB () {}
30
30
31
31
// C & D -> A
32
- // CHECK: firrtl.module private @ByCD() attributes {output_file = #hw.output_file<"A/ ">} {
32
+ // CHECK: firrtl.module private @ByCD() attributes {output_file = #hw.output_file<"A{{/|\\\\}} ">} {
33
33
firrtl.module private @ByCD () {}
34
34
35
35
// A & C -> A
36
- // CHECK: firrtl.module private @ByAC() attributes {output_file = #hw.output_file<"A/ ">} {
36
+ // CHECK: firrtl.module private @ByAC() attributes {output_file = #hw.output_file<"A{{/|\\\\}} ">} {
37
37
firrtl.module private @ByAC () {}
38
38
39
39
// B & C -> R
@@ -67,7 +67,7 @@ firrtl.circuit "AssignOutputDirs" {
67
67
firrtl.instance byCD @ByCD ()
68
68
}
69
69
70
- // CHECK: firrtl.module private @ByDotDot() attributes {output_file = #hw.output_file<"/ path/to/ ">} {
70
+ // CHECK: firrtl.module private @ByDotDot() attributes {output_file = #hw.output_file<"{{.*(/|\\\\)}} path{{/|\\\\}}to{{/|\\\\}} ">} {
71
71
firrtl.module private @ByDotDot () {}
72
72
73
73
firrtl.module @InDotDot () attributes {output_file = #hw.output_file <" ../" >} {
@@ -76,14 +76,14 @@ firrtl.circuit "AssignOutputDirs" {
76
76
77
77
// Absolute output directory tests
78
78
79
- // CHECK firrtl.module private @ByOutputA() {output_file = #hw.output_file<"A/ ">} {}
79
+ // CHECK firrtl.module private @ByOutputA() {output_file = #hw.output_file<"A{{/|\\\\}} ">} {}
80
80
firrtl.module private @ByOutputA () {}
81
81
82
82
firrtl.module @InOutputA () attributes {output_file = #hw.output_file <" /path/to/output/A/foo" >} {
83
83
firrtl.instance byOutputA @ByOutputA ()
84
84
}
85
85
86
- // CHECK: firrtl.module private @ByYZ() attributes {output_file = #hw.output_file<"/X/ ">} {
86
+ // CHECK: firrtl.module private @ByYZ() attributes {output_file = #hw.output_file<"{{.*(/|\\\\)}}X{{/|\\\\}} ">} {
87
87
firrtl.module private @ByYZ () {}
88
88
89
89
firrtl.module @InY () attributes {output_file = #hw.output_file <" /X/Y/" >} {
0 commit comments