Upgrade: Fix TypeError in list concatenation
Here is the exact error message for this type of error: TypeError: can only concatenate list (not "dict_values") to list:
This commit is contained in:
parent
0e8fc5889f
commit
0376fd7376
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ testSrcDirs = globRootdirs('*')
|
|||
|
||||
testcases = [testCases(env, dir) for dir in testSrcDirs if not dir in specialDirs]
|
||||
testLibs = sharedTestLibs.values()
|
||||
testrunner = envSuite.Program("test-suite", ["testrunner.cpp"]+testLibs+core_lib)
|
||||
testrunner = envSuite.Program("test-suite", ["testrunner.cpp"]+list(testLibs)+list(core_lib))
|
||||
|
||||
|
||||
testsuite = ( testcases
|
||||
|
|
@ -96,7 +96,7 @@ Export('testsuite')
|
|||
|
||||
|
||||
# for creating a Valgrind-Suppression file
|
||||
vgsuppression = envSuite.Program('vgsuppression',['tool/vgsuppression.c']+testLibs+core_lib) ## for suppressing false valgrind alarms
|
||||
vgsuppression = envSuite.Program('vgsuppression',['tool/vgsuppression.c']+list(testLibs)+list(core_lib)) ## for suppressing false valgrind alarms
|
||||
tools += [vgsuppression]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue