summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Construct1
-rw-r--r--etc/Conscript5
-rw-r--r--etc/TestSCons.py2
-rw-r--r--src/engine/SCons/Builder.py2
-rw-r--r--src/engine/SCons/BuilderTests.py2
-rw-r--r--src/engine/SCons/Defaults.py2
-rw-r--r--src/engine/SCons/Environment.py2
-rw-r--r--src/engine/SCons/EnvironmentTests.py2
-rw-r--r--src/engine/SCons/Errors.py2
-rw-r--r--src/engine/SCons/ErrorsTests.py2
-rw-r--r--src/engine/SCons/Job.py2
-rw-r--r--src/engine/SCons/JobTests.py2
-rw-r--r--src/engine/SCons/Node/FS.py2
-rw-r--r--src/engine/SCons/Node/FSTests.py2
-rw-r--r--src/engine/SCons/Node/NodeTests.py2
-rw-r--r--src/engine/SCons/Node/__init__.py2
-rw-r--r--src/engine/SCons/Scanner/C.py2
-rw-r--r--src/engine/SCons/Scanner/CTests.py2
-rw-r--r--src/engine/SCons/Scanner/ScannerTests.py2
-rw-r--r--src/engine/SCons/Scanner/__init__.py2
-rw-r--r--src/engine/SCons/Sig/MD5.py2
-rw-r--r--src/engine/SCons/Sig/MD5Tests.py2
-rw-r--r--src/engine/SCons/Sig/TimeStamp.py2
-rw-r--r--src/engine/SCons/Sig/TimeStampTests.py2
-rw-r--r--src/engine/SCons/Sig/__init__.py2
-rw-r--r--src/engine/SCons/__init__.py2
-rw-r--r--src/engine/SCons/exitfuncs.py2
-rw-r--r--src/engine/setup.py2
-rw-r--r--src/script/scons.py2
-rw-r--r--src/script/setup.py2
-rw-r--r--test/Help.py2
-rw-r--r--test/Program-j.py2
-rw-r--r--test/Program.py2
-rw-r--r--test/SConscript.py2
-rw-r--r--test/SConstruct.py2
-rw-r--r--test/errors.py2
-rw-r--r--test/exitfns.py2
-rw-r--r--test/option--.py2
-rw-r--r--test/option--C.py2
-rw-r--r--test/option--H.py2
-rw-r--r--test/option--I.py2
-rw-r--r--test/option--R.py2
-rw-r--r--test/option--S.py2
-rw-r--r--test/option--W.py2
-rw-r--r--test/option--Y.py2
-rw-r--r--test/option--cd.py2
-rw-r--r--test/option--cf.py2
-rw-r--r--test/option--cs.py2
-rw-r--r--test/option--la.py2
-rw-r--r--test/option--ld.py2
-rw-r--r--test/option--lw.py2
-rw-r--r--test/option--npd.py2
-rw-r--r--test/option--override.py2
-rw-r--r--test/option--random.py2
-rw-r--r--test/option--wf.py2
-rw-r--r--test/option--wuv.py2
-rw-r--r--test/option-b.py2
-rw-r--r--test/option-c.py2
-rw-r--r--test/option-d.py2
-rw-r--r--test/option-e.py2
-rw-r--r--test/option-f.py2
-rw-r--r--test/option-h.py2
-rw-r--r--test/option-i.py2
-rw-r--r--test/option-j.py2
-rw-r--r--test/option-k.py2
-rw-r--r--test/option-l.py2
-rw-r--r--test/option-m.py2
-rw-r--r--test/option-n.py2
-rw-r--r--test/option-o.py2
-rw-r--r--test/option-p.py2
-rw-r--r--test/option-q.py2
-rw-r--r--test/option-r.py2
-rw-r--r--test/option-s.py2
-rw-r--r--test/option-t.py2
-rw-r--r--test/option-u.py2
-rw-r--r--test/option-v.py2
-rw-r--r--test/option-w.py2
77 files changed, 80 insertions, 76 deletions
diff --git a/Construct b/Construct
index a7e6a77..558eb3c 100644
--- a/Construct
+++ b/Construct
@@ -100,6 +100,7 @@ $env = new cons( ENV => {
# changes don't cause rebuilds.
SEDFLAGS => " %( -e 's+__DATE__+%DATE+' %)" .
" -e 's+__DEVELOPER__+%DEVELOPER+'" .
+ " -e 's+__FILE__+%<+'" .
" -e 's+__REVISION__+%REVISION+'" .
" -e 's+__VERSION__+%VERSION+'",
SEDCOM => "%SED %SEDFLAGS %< > %>",
diff --git a/etc/Conscript b/etc/Conscript
index c1a7942..3f030a7 100644
--- a/etc/Conscript
+++ b/etc/Conscript
@@ -8,4 +8,7 @@ Import qw( env );
@modules = qw(TestCmd.py TestSCons.py unittest.py);
-$env->Install($env->{TEST_LIB_DIR}, @modules);
+foreach $module (@modules) {
+ $env->Command(File::Spec->catfile($env->{TEST_LIB_DIR}, $module),
+ $module, "%SEDCOM");
+}
diff --git a/etc/TestSCons.py b/etc/TestSCons.py
index dcd462a..41a0ef0 100644
--- a/etc/TestSCons.py
+++ b/etc/TestSCons.py
@@ -13,7 +13,7 @@ or attributes defined in this subclass.
# Copyright 2001 Steven Knight
-__revision__ = "TestSCons.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
import TestCmd
diff --git a/src/engine/SCons/Builder.py b/src/engine/SCons/Builder.py
index f1ab100..6dda645 100644
--- a/src/engine/SCons/Builder.py
+++ b/src/engine/SCons/Builder.py
@@ -4,7 +4,7 @@ XXX
"""
-__revision__ = "Builder.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/BuilderTests.py b/src/engine/SCons/BuilderTests.py
index 67435bc..e19b389 100644
--- a/src/engine/SCons/BuilderTests.py
+++ b/src/engine/SCons/BuilderTests.py
@@ -1,4 +1,4 @@
-__revision__ = "BuilderTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import sys
import unittest
diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py
index 56a15f7..7b5e83d 100644
--- a/src/engine/SCons/Defaults.py
+++ b/src/engine/SCons/Defaults.py
@@ -6,7 +6,7 @@ installation procedure or use something like qmconf.
"""
-__revision__ = "local.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py
index a3fe27a..a7e02a2 100644
--- a/src/engine/SCons/Environment.py
+++ b/src/engine/SCons/Environment.py
@@ -4,7 +4,7 @@ XXX
"""
-__revision__ = "Environment.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py
index 6ac4cb7..885e365 100644
--- a/src/engine/SCons/EnvironmentTests.py
+++ b/src/engine/SCons/EnvironmentTests.py
@@ -1,4 +1,4 @@
-__revision__ = "EnvironmentTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import sys
import unittest
diff --git a/src/engine/SCons/Errors.py b/src/engine/SCons/Errors.py
index 52facf7..ac43837 100644
--- a/src/engine/SCons/Errors.py
+++ b/src/engine/SCons/Errors.py
@@ -5,7 +5,7 @@ and user errors in SCons.
"""
-__revision__ = "Errors.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/ErrorsTests.py b/src/engine/SCons/ErrorsTests.py
index 911b11b..d39a287 100644
--- a/src/engine/SCons/ErrorsTests.py
+++ b/src/engine/SCons/ErrorsTests.py
@@ -1,4 +1,4 @@
-__revision__ = "ErrorsTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import sys
import unittest
diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py
index aa9d92a..26031ff 100644
--- a/src/engine/SCons/Job.py
+++ b/src/engine/SCons/Job.py
@@ -6,7 +6,7 @@ stop, and wait on jobs.
"""
-__revision__ = "Job.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
class Jobs:
"""An instance of this class initializes N jobs, and provides
diff --git a/src/engine/SCons/JobTests.py b/src/engine/SCons/JobTests.py
index ec4c46d..f2189eb 100644
--- a/src/engine/SCons/JobTests.py
+++ b/src/engine/SCons/JobTests.py
@@ -1,4 +1,4 @@
-__revision__ = "JobTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import unittest
import random
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index e7956c2..2d1c8ea 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -4,7 +4,7 @@ File system nodes.
"""
-__revision__ = "Node/FS.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index aa8cf2a..24785da 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -1,4 +1,4 @@
-__revision__ = "Node/FSTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
import sys
diff --git a/src/engine/SCons/Node/NodeTests.py b/src/engine/SCons/Node/NodeTests.py
index 2249a96..7e5afb0 100644
--- a/src/engine/SCons/Node/NodeTests.py
+++ b/src/engine/SCons/Node/NodeTests.py
@@ -1,4 +1,4 @@
-__revision__ = "Node/NodeTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
import sys
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index fb77c65..6da15b6 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -4,7 +4,7 @@ The Node package for the SCons software construction utility.
"""
-__revision__ = "Node/__init__.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/Scanner/C.py b/src/engine/SCons/Scanner/C.py
index ce6f9c6..5afecc2 100644
--- a/src/engine/SCons/Scanner/C.py
+++ b/src/engine/SCons/Scanner/C.py
@@ -4,7 +4,7 @@ This module implements the depenency scanner for C/C++ code.
"""
-__revision__ = "Scanner/C.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import SCons.Scanner
diff --git a/src/engine/SCons/Scanner/CTests.py b/src/engine/SCons/Scanner/CTests.py
index 6a85120..7623362 100644
--- a/src/engine/SCons/Scanner/CTests.py
+++ b/src/engine/SCons/Scanner/CTests.py
@@ -1,4 +1,4 @@
-__revision__ = "Scanner/CTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestCmd
import SCons.Scanner.C
diff --git a/src/engine/SCons/Scanner/ScannerTests.py b/src/engine/SCons/Scanner/ScannerTests.py
index 9c7163d..64b169e 100644
--- a/src/engine/SCons/Scanner/ScannerTests.py
+++ b/src/engine/SCons/Scanner/ScannerTests.py
@@ -1,4 +1,4 @@
-__revision__ = "Scanner/ScannerTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import unittest
import SCons.Scanner
diff --git a/src/engine/SCons/Scanner/__init__.py b/src/engine/SCons/Scanner/__init__.py
index 225c7f3..0edbaff 100644
--- a/src/engine/SCons/Scanner/__init__.py
+++ b/src/engine/SCons/Scanner/__init__.py
@@ -4,7 +4,7 @@ The Scanner package for the SCons software construction utility.
"""
-__revision__ = "Scanner/__init__.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
__version__ = "__VERSION__"
diff --git a/src/engine/SCons/Sig/MD5.py b/src/engine/SCons/Sig/MD5.py
index 9d461d9..10927e0 100644
--- a/src/engine/SCons/Sig/MD5.py
+++ b/src/engine/SCons/Sig/MD5.py
@@ -5,7 +5,7 @@ utility.
"""
-__revision__ = "Sig/MD5.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import md5
import string
diff --git a/src/engine/SCons/Sig/MD5Tests.py b/src/engine/SCons/Sig/MD5Tests.py
index ac67f1d..6313475 100644
--- a/src/engine/SCons/Sig/MD5Tests.py
+++ b/src/engine/SCons/Sig/MD5Tests.py
@@ -1,4 +1,4 @@
-__revision__ = "Sig/MD5Tests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import sys
import unittest
diff --git a/src/engine/SCons/Sig/TimeStamp.py b/src/engine/SCons/Sig/TimeStamp.py
index b821742..f66810d 100644
--- a/src/engine/SCons/Sig/TimeStamp.py
+++ b/src/engine/SCons/Sig/TimeStamp.py
@@ -5,7 +5,7 @@ utility.
"""
-__revision__ = "Sig/TimeStamp.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
def _init():
pass # XXX
diff --git a/src/engine/SCons/Sig/TimeStampTests.py b/src/engine/SCons/Sig/TimeStampTests.py
index 4cc72e4..2dddff8 100644
--- a/src/engine/SCons/Sig/TimeStampTests.py
+++ b/src/engine/SCons/Sig/TimeStampTests.py
@@ -1,4 +1,4 @@
-__revision__ = "Sig/TimeStampTests.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import sys
import unittest
diff --git a/src/engine/SCons/Sig/__init__.py b/src/engine/SCons/Sig/__init__.py
index c3b06ed..ba485d8 100644
--- a/src/engine/SCons/Sig/__init__.py
+++ b/src/engine/SCons/Sig/__init__.py
@@ -4,4 +4,4 @@ The Signature package for the SCons software construction utility.
"""
-__revision__ = "Sig/__init__.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/SCons/__init__.py b/src/engine/SCons/__init__.py
index 56c5fad..16022c1 100644
--- a/src/engine/SCons/__init__.py
+++ b/src/engine/SCons/__init__.py
@@ -4,6 +4,6 @@ The main package for the SCons software construction utility.
"""
-__revision__ = "__init__.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
__version__ = "__VERSION__"
diff --git a/src/engine/SCons/exitfuncs.py b/src/engine/SCons/exitfuncs.py
index 86d1990..d088c11 100644
--- a/src/engine/SCons/exitfuncs.py
+++ b/src/engine/SCons/exitfuncs.py
@@ -4,7 +4,7 @@ Register functions which are executed when SCons exits for any reason.
"""
-__revision__ = "exitfuncs.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
diff --git a/src/engine/setup.py b/src/engine/setup.py
index 10fbef5..d926a03 100644
--- a/src/engine/setup.py
+++ b/src/engine/setup.py
@@ -1,4 +1,4 @@
-__revision__ = "setup.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
from string import join, split
diff --git a/src/script/scons.py b/src/script/scons.py
index d433773..c981737 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -3,7 +3,7 @@
# SCons
#
-__revision__ = "scons.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import getopt
import os.path
diff --git a/src/script/setup.py b/src/script/setup.py
index 8732e3b..7fe4818 100644
--- a/src/script/setup.py
+++ b/src/script/setup.py
@@ -1,4 +1,4 @@
-__revision__ = "setup.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
from string import join, split
diff --git a/test/Help.py b/test/Help.py
index 69db872..d57f245 100644
--- a/test/Help.py
+++ b/test/Help.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/Help.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/Program-j.py b/test/Program-j.py
index 4a4fee7..41d32cb 100644
--- a/test/Program-j.py
+++ b/test/Program-j.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/Program-j.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/Program.py b/test/Program.py
index 6a0a517..06562dc 100644
--- a/test/Program.py
+++ b/test/Program.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/Program.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/SConscript.py b/test/SConscript.py
index 7cb55d5..41957fc 100644
--- a/test/SConscript.py
+++ b/test/SConscript.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/SConscript.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/SConstruct.py b/test/SConstruct.py
index 8b586d2..34710a3 100644
--- a/test/SConstruct.py
+++ b/test/SConstruct.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/SConstruct.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/errors.py b/test/errors.py
index cff8087..8399958 100644
--- a/test/errors.py
+++ b/test/errors.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/errors.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
diff --git a/test/exitfns.py b/test/exitfns.py
index d9a1019..49afa93 100644
--- a/test/exitfns.py
+++ b/test/exitfns.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/exitfns.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestCmd
import TestSCons
diff --git a/test/option--.py b/test/option--.py
index 1529c46..51f880e 100644
--- a/test/option--.py
+++ b/test/option--.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import os.path
diff --git a/test/option--C.py b/test/option--C.py
index 8af879a..4d489b1 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--C.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--H.py b/test/option--H.py
index a02120c..c2e906b 100644
--- a/test/option--H.py
+++ b/test/option--H.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--H.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--I.py b/test/option--I.py
index 7ca471d..d39cf85 100644
--- a/test/option--I.py
+++ b/test/option--I.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--I.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--R.py b/test/option--R.py
index db7815b..952a82c 100644
--- a/test/option--R.py
+++ b/test/option--R.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--R.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--S.py b/test/option--S.py
index c7b04d6..b443834 100644
--- a/test/option--S.py
+++ b/test/option--S.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--S.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--W.py b/test/option--W.py
index a062d26..020dbf4 100644
--- a/test/option--W.py
+++ b/test/option--W.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--W.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--Y.py b/test/option--Y.py
index 9b5f72a..7565163 100644
--- a/test/option--Y.py
+++ b/test/option--Y.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--Y.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--cd.py b/test/option--cd.py
index af3d170..ef1f82d 100644
--- a/test/option--cd.py
+++ b/test/option--cd.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--cd.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--cf.py b/test/option--cf.py
index 4c106fc..76b58a4 100644
--- a/test/option--cf.py
+++ b/test/option--cf.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--cf.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--cs.py b/test/option--cs.py
index 39f19d9..77d9546 100644
--- a/test/option--cs.py
+++ b/test/option--cs.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--cs.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--la.py b/test/option--la.py
index 2ebd95e..87118c5 100644
--- a/test/option--la.py
+++ b/test/option--la.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--la.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--ld.py b/test/option--ld.py
index 66ce38d..19c937d 100644
--- a/test/option--ld.py
+++ b/test/option--ld.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--ld.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--lw.py b/test/option--lw.py
index 65c8acf..d4d618c 100644
--- a/test/option--lw.py
+++ b/test/option--lw.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--lw.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--npd.py b/test/option--npd.py
index 02c4d19..32b7107 100644
--- a/test/option--npd.py
+++ b/test/option--npd.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--npd.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--override.py b/test/option--override.py
index 3b1bd82..9a93f12 100644
--- a/test/option--override.py
+++ b/test/option--override.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--override.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--random.py b/test/option--random.py
index 12f88bc..5e2ec8c 100644
--- a/test/option--random.py
+++ b/test/option--random.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--random.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--wf.py b/test/option--wf.py
index 0b75b7a..dc0e470 100644
--- a/test/option--wf.py
+++ b/test/option--wf.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--wf.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option--wuv.py b/test/option--wuv.py
index 72b4557..c143dc9 100644
--- a/test/option--wuv.py
+++ b/test/option--wuv.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option--wuv.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-b.py b/test/option-b.py
index b2a95bb..ad25f58 100644
--- a/test/option-b.py
+++ b/test/option-b.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-b.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-c.py b/test/option-c.py
index 406e438..ac84d05 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-c.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-d.py b/test/option-d.py
index b684490..a9bc1e8 100644
--- a/test/option-d.py
+++ b/test/option-d.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-d.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-e.py b/test/option-e.py
index 0fdf50e..4914db3 100644
--- a/test/option-e.py
+++ b/test/option-e.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-e.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-f.py b/test/option-f.py
index ddd91b4..90aa442 100644
--- a/test/option-f.py
+++ b/test/option-f.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-f.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import os.path
diff --git a/test/option-h.py b/test/option-h.py
index e836916..937f446 100644
--- a/test/option-h.py
+++ b/test/option-h.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-h.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-i.py b/test/option-i.py
index f3aa4eb..c7ad495 100644
--- a/test/option-i.py
+++ b/test/option-i.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-i.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-j.py b/test/option-j.py
index d52ab4b..90d036d 100644
--- a/test/option-j.py
+++ b/test/option-j.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-j.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-k.py b/test/option-k.py
index bf4b579..fb53b57 100644
--- a/test/option-k.py
+++ b/test/option-k.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-k.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-l.py b/test/option-l.py
index 1a14638..49d6123 100644
--- a/test/option-l.py
+++ b/test/option-l.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-l.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-m.py b/test/option-m.py
index d8f1310..5a4693a 100644
--- a/test/option-m.py
+++ b/test/option-m.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-m.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-n.py b/test/option-n.py
index 122a38b..39d5f34 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-n.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import os.path
diff --git a/test/option-o.py b/test/option-o.py
index 63453d3..274e8af 100644
--- a/test/option-o.py
+++ b/test/option-o.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-o.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-p.py b/test/option-p.py
index f760b9a..4bae24a 100644
--- a/test/option-p.py
+++ b/test/option-p.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-p.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-q.py b/test/option-q.py
index 3cceab2..4d72004 100644
--- a/test/option-q.py
+++ b/test/option-q.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-q.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-r.py b/test/option-r.py
index 7d475d8..0d32985 100644
--- a/test/option-r.py
+++ b/test/option-r.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-r.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-s.py b/test/option-s.py
index 8df64af..f331d3c 100644
--- a/test/option-s.py
+++ b/test/option-s.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-s.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import os.path
diff --git a/test/option-t.py b/test/option-t.py
index 8657732..c36d51c 100644
--- a/test/option-t.py
+++ b/test/option-t.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-t.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-u.py b/test/option-u.py
index 9c8fdf5..089b8dd 100644
--- a/test/option-u.py
+++ b/test/option-u.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-u.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-v.py b/test/option-v.py
index d674aa4..b65e4d0 100644
--- a/test/option-v.py
+++ b/test/option-v.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-v.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string
diff --git a/test/option-w.py b/test/option-w.py
index d27c52f..234e6e6 100644
--- a/test/option-w.py
+++ b/test/option-w.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-__revision__ = "test/option-w.py __REVISION__ __DATE__ __DEVELOPER__"
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import string