3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ruby-modules/runtests.sh

7 lines
239 B
Bash
Raw Normal View History

2017-05-27 23:19:34 +01:00
#!/usr/bin/env bash
set -o xtrace
2017-07-03 01:18:58 +01:00
cd $(dirname $0)
2017-05-27 23:19:34 +01:00
find . -name text.nix
testfiles=$(find . -name test.nix)
nix-build -E "with import <nixpkgs> {}; callPackage testing/driver.nix { testFiles = [ $testfiles ]; }" --show-trace && cat result