From d01da9895673e9579aaa0424f1fa0575a9372223 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 14 2016 09:30:09 +0000 Subject: Add utility scripts to run the test suite with python3 --- diff --git a/nosetests3 b/nosetests3 new file mode 100755 index 0000000..5f06e33 --- /dev/null +++ b/nosetests3 @@ -0,0 +1,10 @@ +#!/usr/bin/python3 +# EASY-INSTALL-ENTRY-SCRIPT: 'nose==1.3.7','console_scripts','nosetests-3.4' +__requires__ = 'nose>=1.3.7' +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.exit( + load_entry_point('nose>=1.3.7', 'console_scripts', 'nosetests-3.4')() + ) diff --git a/runtests3.sh b/runtests3.sh new file mode 100755 index 0000000..3511688 --- /dev/null +++ b/runtests3.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +PYTHONPATH=pagure ./nosetests3 --with-coverage --cover-erase --cover-package=pagure $*