Skip to content

Commit 536112c

Browse files
committed
[sw] Fix build.
1 parent 5927147 commit 536112c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sw.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ void build(Solution &s)
205205
auto &t = test.addTarget<ExecutableTarget>(name);
206206
t += cppstd;
207207
t += FileRegex("unittest", name + "_test.*", false);
208+
t += "unittest"_idir;
208209

209210
t += "SW_TESTING"_def;
210211

@@ -302,7 +303,6 @@ void build(Solution &s)
302303
"tablefind",
303304
"tablerecog",
304305
"tabvector",
305-
"tatweel",
306306
"textlineprojection",
307307
"tfile",
308308
"unichar",
@@ -319,6 +319,10 @@ void build(Solution &s)
319319
auto &dt = add_test("dawg");
320320
dt += Definition("wordlist2dawg_prog=\"" + to_printable_string(normalize_path(wordlist2dawg.getOutputFile())) + "\"");
321321
dt += Definition("dawg2wordlist_prog=\"" + to_printable_string(normalize_path(dawg2wordlist.getOutputFile())) + "\"");
322+
323+
auto &tw = add_test("tatweel");
324+
tw += "unittest/util/.*"_rr;
325+
tw += "unittest/third_party/.*"_rr;
322326
}
323327
}
324328

0 commit comments

Comments
 (0)