[PATCH] D25869: [Driver] Add unit tests for DetectDistro()

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 08:45:50 PDT 2016


mgorny added inline comments.


================
Comment at: unittests/Driver/ToolChainsTest.cpp:154
+                                       "BUG_REPORT_URL=\"https://bugs.debian.org/\"\n"));
+  ASSERT_EQ(DebianStretch, DetectDistro(DebianStretchSidFileSystem));
+}
----------------
bruno wrote:
> Can you add the tests for /etc/SuSE-release here as well? 
Yes, that is a goal. I didn't add all distros yet because I wanted to see if I'm doing it right first ;-).


https://reviews.llvm.org/D25869





More information about the cfe-commits mailing list