RELEASE 0.96 - XXX
+ From Chad Austin:
+
+ - Make the CacheDir() directory if it doesn't already exist.
+
+ From Chris Hoeppler:
+
+ - Initialize the name of a Scanner.Classic scanner correctly.
+
From Steven Knight:
- Add an Execute() method for executing actions directly.
finally:
SCons.Node.FS.find_file = save
+ def test_name(self):
+ """Test setting the Scanner.Classic name"""
+ s = SCons.Scanner.Classic("my_name", ['.s'], 'MYPATH', '^my_inc (\S+)')
+ assert s.name == "my_name", s.name
+
def test_scan(self):
"""Test the Scanner.Classic scan() method"""
class MyNode:
kw['path_function'] = FindPathDirs(path_variable, fs)
kw['recursive'] = 1
kw['skeys'] = suffixes
+ kw['name'] = name
apply(Current.__init__, (self,) + args, kw)