# file      : tests/libbuild2/buildfile
# license   : MIT; see accompanying LICENSE file

import libs = build2%lib{build2}

for m: bash bin c cc cxx in version
  import libs += build2%lib{build2-$m}

exe{driver}: {hxx cxx}{*} $libs testscript

# Setup the test driver. Note that by default we test the build2 driver (see
# build/root.build for details).
#
testscript@./: test = exe{driver}