summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-20 04:29:54 +0000
committerSteven Knight <knight@baldmt.com>2003-01-20 04:29:54 +0000
commita5f3e5e1a386486767bca62126835486e7f722fe (patch)
tree8abf785d488f53bae677844653d9ff9ce3bf1686 /template
parente7311129d841fe777bfe2d83c46033f34dac4709 (diff)
downloadscons-a5f3e5e1a386486767bca62126835486e7f722fe.tar.gz
Put the Copyright years in by script, not by hand.
Diffstat (limited to 'template')
-rw-r--r--template/Tests.py2
-rw-r--r--template/__init__.py2
-rw-r--r--template/file.py2
-rw-r--r--template/test.py16
4 files changed, 18 insertions, 4 deletions
diff --git a/template/Tests.py b/template/Tests.py
index ec112ff7..d60835bb 100644
--- a/template/Tests.py
+++ b/template/Tests.py
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2001, 2002, 2003 Steven Knight
+# __COPYRIGHT__
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
diff --git a/template/__init__.py b/template/__init__.py
index 34d1f45c..f483d38c 100644
--- a/template/__init__.py
+++ b/template/__init__.py
@@ -5,7 +5,7 @@ XXX
"""
#
-# Copyright (c) 2001, 2002, 2003 Steven Knight
+# __COPYRIGHT__
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
diff --git a/template/file.py b/template/file.py
index eec35458..c223e115 100644
--- a/template/file.py
+++ b/template/file.py
@@ -5,7 +5,7 @@ XXX
"""
#
-# Copyright (c) 2001, 2002, 2003 Steven Knight
+# __COPYRIGHT__
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
diff --git a/template/test.py b/template/test.py
index 2d1c3023..131c0198 100644
--- a/template/test.py
+++ b/template/test.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright (c) 2001, 2002, 2003 Steven Knight
+# __COPYRIGHT__
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -24,4 +24,18 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+"""
+XXX Put a description of the test here.
+"""
+
import TestSCons
+
+test = TestSCons.TestSCons()
+
+test.write('SConstruct', """
+env = Environment()
+""")
+
+test.run(arguments = '.')
+
+test.pass_test()