summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/SConfTests.py
diff options
context:
space:
mode:
authorRichard Quirk <richard.quirk@gmail.com>2011-12-24 09:21:03 (GMT)
committerRichard Quirk <richard.quirk@gmail.com>2011-12-24 09:21:03 (GMT)
commit6788d5265cf1914081794a37b4172b794ae7375c (patch)
tree8bf48da9de3eb29f7e5045319974594c95a506c0 /src/engine/SCons/SConfTests.py
parent29948306bedca81fd85eb6f2978adbb454ca84db (diff)
downloadSCons-6788d5265cf1914081794a37b4172b794ae7375c.zip
SCons-6788d5265cf1914081794a37b4172b794ae7375c.tar.gz
SCons-6788d5265cf1914081794a37b4172b794ae7375c.tar.bz2
Fix missing type_name declaration in error path
The symbol type_name is not declared in this scope. It looks like the line that this change fixes was copied from elsewhere and not updated with the correct 'symbol' variable previously.
Diffstat (limited to 'src/engine/SCons/SConfTests.py')
-rw-r--r--src/engine/SCons/SConfTests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/SCons/SConfTests.py b/src/engine/SCons/SConfTests.py
index b05c4cc..e604886 100644
--- a/src/engine/SCons/SConfTests.py
+++ b/src/engine/SCons/SConfTests.py
@@ -697,6 +697,8 @@ int main() {
assert r, "__cplusplus not declared in C++ ??"
r = sconf.CheckDeclaration('__cplusplus', language = 'C')
assert not r, "__cplusplus declared in C ??"
+ r = sconf.CheckDeclaration('unknown', language = 'Unknown')
+ assert not r, "unknown language was supported ??"
finally:
sconf.Finish()