Skip to content

Commit

Permalink
rdmd: Improve --makedepend test a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
leandro-lucarella-sociomantic committed Feb 25, 2014
1 parent a4294fa commit e05814e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdmd_test.d
Expand Up @@ -202,7 +202,9 @@ void runTests()
std.file.write(depMod, "module depMod_; import dsubpack.submod; void main() { }");

res = execute([rdmdApp, compilerSwitch, "-I" ~ packRoot, "--makedepend", depMod]);
assert(res.output.canFind("depMod_.d : ")); // simplistic check
// simplistic checks
assert(res.output.canFind("depMod_.d : "));
assert(res.output.replace(r"\", "/").canFind("dsubpack/submod.d"));

/* Test signal propagation through exit codes */

Expand Down

0 comments on commit e05814e

Please sign in to comment.