aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-02-20 14:27:06 -0500
committerGitHub <noreply@github.com>2017-02-20 14:27:06 -0500
commit98af711ca6f166bacf2b9c6e697026f5b323827a (patch)
tree10f6507a9c6e01bce546a08201b6f655da54fd78 /run_tests.py
parentc8042b5574e272fff9735a6978a10a20013c9480 (diff)
parent2a64a2d00c278b42b544f32e299547753ed22e36 (diff)
downloadmeson-98af711ca6f166bacf2b9c6e697026f5b323827a.zip
meson-98af711ca6f166bacf2b9c6e697026f5b323827a.tar.gz
meson-98af711ca6f166bacf2b9c6e697026f5b323827a.tar.bz2
Merge pull request #1403 from centricular/compile_resources
Make configure_file() great again
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index f2038e4..5025057 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -14,12 +14,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import subprocess, sys, shutil
+import os
+import sys
+import shutil
+import subprocess
import platform
from mesonbuild import mesonlib
if __name__ == '__main__':
returncode = 0
+ # Running on a developer machine? Be nice!
+ if not mesonlib.is_windows() and 'TRAVIS' not in os.environ:
+ os.nice(20)
print('Running unittests.\n')
units = ['InternalTests', 'AllPlatformTests']
if mesonlib.is_linux():