Changeset 2401 for pjproject/trunk/tests/cdash/cfg_gnu.py
- Timestamp:
- Dec 29, 2008 5:57:13 PM (15 years ago)
- Location:
- pjproject/trunk/tests/cdash
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/tests/cdash
-
Property
svn:ignore
set to
*.pyc
cfg_site.py
out.xml
-
Property
svn:ignore
set to
-
pjproject/trunk/tests/cdash/cfg_gnu.py
r2399 r2401 1 # 2 # cfg_gnu.py - GNU target configurator 3 # 4 # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 # 6 # This program is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 10 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 # 1 20 import builder 2 21 import os … … 14 33 15 34 if os.access(file+".py", os.F_OK) == False: 16 17 35 print "Error: file '%s.py' doesn't exist." % (file) 36 sys.exit(1) 18 37 19 38 cfg_site = __import__(file)
Note: See TracChangeset
for help on using the changeset viewer.