EricWF added inline comments.

================
Comment at: test/std/experimental/filesystem/lit.local.cfg:5
+
+# filesystem_test_helper uses random_device to generate random path.
+if 'libcpp-has-no-random-device' in config.available_features:
----------------
EricWF wrote:
> I would rather keep these tests running using a different source for the 
> random seed if possible.
Perhaps the random generator could be initialized using 
`std::chrono::system_clock::now().time_since_epoch().count()`, which should 
produce more distinct values that the typical `time(NULL)` method used to 
initialize `srand`.


Repository:
  rCXX libc++

https://reviews.llvm.org/D41316



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to