diff options
-rwxr-xr-x | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -706,6 +706,7 @@ class TestProgramItem(Item): ) def do_build(self, bld, bic): + target = self.get(bld, "target") bld( cflags=bic.cflags, cppflags=bic.cppflags, @@ -717,10 +718,13 @@ class TestProgramItem(Item): source=self.data["source"], start_files=True, stlib=self.data["stlib"], - target=self.get(bld, "target"), + target=target, use=bic.objects + bic.use, ) + if not target.endswith(".norun.exe"): + bld.install_files(bld.env.BSP_PREFIX + "/tests", target) + class AdaTestProgramItem(TestProgramItem): def __init__(self, uid, data): |