From cc86d915edfda7196fd6366cd8e657e8ccb31959 Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Thu, 16 Jul 2020 13:16:35 +0200 Subject: [PATCH] configure.py: $mode-test targets depend on scylla The targets {dev|debug|release}-test run all unit tests, including alternator/run. But this test requires the Scylla executable, which wasn't among the dependencies. Fix it by adding build/$mode/scylla to the dependency list. Fixes #6855. Tests: `ninja dev-test` after removing build/dev/scylla Signed-off-by: Dejan Mircevski --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index af5872d6cf..cd378927b2 100755 --- a/configure.py +++ b/configure.py @@ -1612,7 +1612,7 @@ with open(buildfile_tmp, 'w') as f: ) f.write( - 'build {mode}-test: test.{mode} {test_executables} $builddir/{mode}/test/tools/cql_repl\n'.format( + 'build {mode}-test: test.{mode} {test_executables} $builddir/{mode}/test/tools/cql_repl $builddir/{mode}/scylla\n'.format( mode=mode, test_executables=' '.join(['$builddir/{}/{}'.format(mode, binary) for binary in tests]), )