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:
> 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`.
Actually `std::chrono::high_resolution_clock` would be better.

  rCXX libc++

cfe-commits mailing list

Reply via email to