nixpkgs-suyu/pkgs/development/ruby-modules/runtests.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
239 B
Bash
Raw Normal View History

2017-05-28 00:19:34 +02:00
#!/usr/bin/env bash
set -o xtrace
2017-07-03 02:18:58 +02:00
cd $(dirname $0)
2017-05-28 00:19:34 +02: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