1#!/bin/sh 2# The next line is executed by /bin/sh, but not Tcl \ 3exec tclsh $0 ${1+"$@"} 4 5# Copyright (c) 2019, Parallax Software, Inc. 6# 7# This program is free software: you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by 9# the Free Software Foundation, either version 3 of the License, or 10# (at your option) any later version. 11# 12# This program is distributed in the hope that it will be useful, 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with this program. If not, see <https://www.gnu.org/licenses/>. 19 20# Usage: regression [test1 [test2...]] 21# Where test1 is all or the name of a tcl script in /test 22# Wildcard matching with '*' and '?' in test names is supported. 23 24# Directory containing tests. 25set test_dir [file dirname [file normalize [info script]]] 26set openroad_dir [file dirname [file dirname [file dirname $test_dir]]] 27 28source [file join $openroad_dir "test" "regression.tcl"] 29source [file join $test_dir "regression_tests.tcl"] 30 31regression_main 32 33# Local Variables: 34# mode:tcl 35# End: 36