Boost logo

Boost Users :

From: Dan Thill (dgt_at_[hidden])
Date: 2008-06-27 09:22:09

> I'm looking for a way to write programs with unit tests that don't hit
> the real filesystem, so there is no cleanup necessary in the event of a
> segfault, and so that tests run fast and set up is simple.

Just an off-the-cuff response, but depending on your OS, you might be able
 to use a RAM-disk, or some memory-based filesystem. Solaris has tmpfs I
think. I believe you can still do it in Windows 2000+

But that might have a size limit of 32MB.

Anyways, maybe a different approach you hadn't thought of.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at