Skip to content

Instantly share code, notes, and snippets.

@arsenm
Created July 6, 2011 22:19
Show Gist options
  • Save arsenm/1068485 to your computer and use it in GitHub Desktop.
Save arsenm/1068485 to your computer and use it in GitHub Desktop.
test script
#!/usr/bin/env bash
dir="../../bin"
bin=${dir}/milkyway_separation
gpu="--device 0"
function runTest11()
{
gdb --args ${bin} ${gpu} -s stars/stars-11.txt -a astronomy_parameters-11-small.txt -np 20 -p 0.571713 12.312119 -3.305187 148.010257 22.453902 0.42035 -0.468858 0.760579 -1.361644 177.884238 23.882892 1.210639 -1.611974 8.534378 -1.361644 177.884238 10.882892 1.210639 -1.611974 8.534378
}
echo ${bin}
(cd tests; runTest11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment