#!/usr/bin/python2 # # test-lua5.2.py quality assurance test script # Copyright (C) 2014 Canonical Ltd. # Author: Marc Deslauriers # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2, # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # ''' *** IMPORTANT *** DO NOT RUN ON A PRODUCTION SERVER. *** IMPORTANT *** ''' # QRT-Depends: test-lua.py # QRT-Packages: lua5.2 from __future__ import print_function import subprocess import sys if __name__ == '__main__': print('lua5.2 regression tests') prc = subprocess.Popen([ 'python', 'test-lua.py', 'lua5.2'], stdout=sys.stdout, stderr=subprocess.STDOUT) prc.wait() sys.exit(prc.returncode)