summaryrefslogtreecommitdiff
path: root/template/test.py
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/test.py
parente7311129d841fe777bfe2d83c46033f34dac4709 (diff)
downloadscons-a5f3e5e1a386486767bca62126835486e7f722fe.tar.gz
Put the Copyright years in by script, not by hand.
Diffstat (limited to 'template/test.py')
-rw-r--r--template/test.py16
1 files changed, 15 insertions, 1 deletions
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()