summaryrefslogtreecommitdiff
path: root/tests/cdash/cfg_gnu.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cdash/cfg_gnu.py')
-rw-r--r--tests/cdash/cfg_gnu.py23
1 files changed, 21 insertions, 2 deletions
diff --git a/tests/cdash/cfg_gnu.py b/tests/cdash/cfg_gnu.py
index 55bb82bc..75f22d75 100644
--- a/tests/cdash/cfg_gnu.py
+++ b/tests/cdash/cfg_gnu.py
@@ -1,3 +1,22 @@
+#
+# cfg_gnu.py - GNU target configurator
+#
+# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
import builder
import os
import sys
@@ -13,8 +32,8 @@ def create_builder(args):
file = "cfg_site"
if os.access(file+".py", os.F_OK) == False:
- print "Error: file '%s.py' doesn't exist." % (file)
- sys.exit(1)
+ print "Error: file '%s.py' doesn't exist." % (file)
+ sys.exit(1)
cfg_site = __import__(file)
test_cfg = builder.BaseConfig(cfg_site.BASE_DIR, \