aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/test/module.cxx2
-rw-r--r--build2/test/rule.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/build2/test/module.cxx b/build2/test/module.cxx
index 3ae9996..e5b044a 100644
--- a/build2/test/module.cxx
+++ b/build2/test/module.cxx
@@ -68,6 +68,8 @@ namespace build2
const dir_path& out_root (root.out_path ());
l5 ([&]{trace << "for " << out_root;});
+ //@@ Need ability to specify extra diff options (--strip-trailing-cr).
+
// Register rules.
//
{
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 8a4c15d..2dc4abd 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -338,6 +338,7 @@ namespace build2
assert (!ot.path ().empty ()); // Should have been assigned by update.
args.push_back ("diff");
+ args.push_back ("--strip-trailing-cr"); //@@ TMP: see module.cxx
args.push_back ("-u");
args.push_back (ot.path ().string ().c_str ());
args.push_back ("-");