summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/runtests.sh
diff options
context:
space:
mode:
authorJudson <nyarly@gmail.com>2017-05-27 15:19:34 -0700
committerJudson <nyarly@gmail.com>2017-05-27 15:19:34 -0700
commit998d011e426c2f8c51946ebbc4931a464f531db9 (patch)
treef7c29caa5789057980f0627fd4e9435b35e34000 /pkgs/development/ruby-modules/runtests.sh
parent022be78eb26de958e50e32ac40574e93ac81bee3 (diff)
downloadnixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar.gz
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar.bz2
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar.lz
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar.xz
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.tar.zst
nixpkgs-998d011e426c2f8c51946ebbc4931a464f531db9.zip
Restructuring files
Diffstat (limited to 'pkgs/development/ruby-modules/runtests.sh')
-rwxr-xr-xpkgs/development/ruby-modules/runtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/runtests.sh b/pkgs/development/ruby-modules/runtests.sh
new file mode 100755
index 00000000000..d0faaf971db
--- /dev/null
+++ b/pkgs/development/ruby-modules/runtests.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -o xtrace
+pwd
+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