Disable tests of /proc/cpuinfo in LXC containers
It seems that we can't access /proc files when running inside such containers, so don't try to do it.
This commit is contained in:
@@ -123,6 +123,10 @@ extern bool IsAutomaticTest();
|
||||
|
||||
extern bool IsRunningUnderXVFB();
|
||||
|
||||
#ifdef __LINUX__
|
||||
extern bool IsRunningInLXC();
|
||||
#endif // __LINUX__
|
||||
|
||||
// Helper class setting the locale to the given one for its lifetime.
|
||||
class LocaleSetter
|
||||
{
|
||||
|
Reference in New Issue
Block a user