diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2015-10-16 08:45:50 +0000 |
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-10-16 08:45:50 +0000 |
| commit | f4633e5c51f2e1620a533b2c6b2f7c3a1a83d7b6 (patch) | |
| tree | 8102f8a4c9823e12ce5c09a04c7a31f3c2e8dcca /unity-shared | |
| parent | f0ec717da2c30b5bfbee99d6b6f60f4154f18567 (diff) | |
| parent | 70dd0ea470cc4d742d07f0e68ea86c6c621b48fc (diff) | |
TestDash: Use local results in PreviewNavigateTests instead of online ones
They're just more reliable Approved by: Andrea Azzarone (bzr r4021)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/UpstartWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/UpstartWrapper.cpp b/unity-shared/UpstartWrapper.cpp index 5ec3add22..ea2cd4650 100644 --- a/unity-shared/UpstartWrapper.cpp +++ b/unity-shared/UpstartWrapper.cpp @@ -32,7 +32,7 @@ namespace unity class UpstartWrapper::Impl { public: - Impl(bool test_mode = false); + Impl(bool test_mode = (!g_getenv("UPSTART_SESSION"))); void Emit(std::string const& name); |
