diff --git a/src/bindings/dotnet/SConscript b/src/bindings/dotnet/SConscript
index 739f2d2f3c88a97ae0f70de3235af9cd4a1140fa..1b95393c157b593702782580b76f032091ee5506 100644
--- a/src/bindings/dotnet/SConscript
+++ b/src/bindings/dotnet/SConscript
@@ -56,7 +56,7 @@ Depends(dotnettestlib, hammer_dll)
 Depends(dotnettestlib, libhammer_dotnet)
 dotnettest = Alias("testdotnet", [dotnettestexec], dotnettestexec)
 AlwaysBuild(dotnettestexec)
-testruns.extend(dotnettestlib)
+testruns.append(dotnettestexec)
 
 #dotnetinstallexec = dotnetenv.Command(None, libhammer_dotnet, "make install -C " + targetdir)
 #dotnetinstall = Alias("installdotnet", [dotnetinstallexec], dotnetinstallexec)
diff --git a/src/bindings/python/SConscript b/src/bindings/python/SConscript
index e7b956fac0b8f7ead58797d456834f35f8914f5c..dac2d9596a58fdd2e8dd4edbcde46aa31b4d6024 100644
--- a/src/bindings/python/SConscript
+++ b/src/bindings/python/SConscript
@@ -16,7 +16,7 @@ pytests = ['hammer_tests.py']
 pytestexec = pytestenv.Command(['hammer.pyc', 'hammer_tests.pyc'], pytests + libhammer_python, "LD_LIBRARY_PATH=" + os.path.dirname(str(libhammer_shared[0])) + " nosetests -vv $SOURCE")
 pytest = Alias("testpython", [pytestexec], pytestexec)
 AlwaysBuild(pytestexec)
-testruns.extend(pytest)
+testruns.append(pytest)
 
 pyinstallexec = pythonenv.Command(None, libhammer_python, 'python ' + os.path.join(pydir, 'setup.py ') + ' install')
 pyinstall = Alias("installpython", [pyinstallexec], pyinstallexec)