python tests: use py shebang instead of $(PYTHON)
I'm going to make the external tests manually launchable. For that I first had an error message if $(PYTHON) was empty. But Pau says I should just use shebang instead and ignore the autoconf python stuff, since that often fails anyway. Change-Id: Ie35dd78c42577109a6a3143221a9769e47d361a5changes/38/12138/3
parent
425bb8ea83
commit
e3033b3f48
|
@ -46,10 +46,10 @@ if ENABLE_EXT_TESTS
|
|||
python-tests: $(BUILT_SOURCES)
|
||||
osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
|
||||
osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
|
||||
$(PYTHON) $(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v
|
||||
$(PYTHON) $(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
|
||||
$(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v
|
||||
$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
|
||||
if BUILD_SMPP
|
||||
$(PYTHON) $(srcdir)/smpp_test_runner.py -w $(abs_top_builddir) -v
|
||||
$(srcdir)/smpp_test_runner.py -w $(abs_top_builddir) -v
|
||||
endif
|
||||
rm -f $(top_builddir)/sms.db
|
||||
else
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
# (C) 2013 by Jacob Erlbeck <jerlbeck@sysmocom.de>
|
||||
# (C) 2014 by Holger Hans Peter Freyther
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
# (C) 2014 by Holger Hans Peter Freyther
|
||||
# based on vty_test_runner.py:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
# (C) 2013 by Katerina Barone-Adesi <kat.obsc@gmail.com>
|
||||
# (C) 2013 by Holger Hans Peter Freyther
|
||||
|
|
Loading…
Reference in New Issue