[Debian-astro-commits] [gyoto] 02/04: Actually add "gyoto" test; add Keywords to gyotoy.desktop

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Sat May 23 17:19:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit afc445492b575f59c7b3fb50b7d9f1bd30c87a59
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Sat May 23 14:07:47 2015 +0200

    Actually add "gyoto" test; add Keywords to gyotoy.desktop
---
 debian/gyotoy.desktop |  1 +
 debian/tests/gyoto    | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/gyotoy.desktop b/debian/gyotoy.desktop
index cc7c9a4..ce5fdf5 100644
--- a/debian/gyotoy.desktop
+++ b/debian/gyotoy.desktop
@@ -6,3 +6,4 @@ Icon=gyotoy
 Name=Gyotoy
 GenericName=General Relativity Orbit Tracer
 Terminal=false
+Keywords=Gravitation
diff --git a/debian/tests/gyoto b/debian/tests/gyoto
new file mode 100755
index 0000000..5543cb3
--- /dev/null
+++ b/debian/tests/gyoto
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+EXAMPLES_DIR=/usr/share/doc/gyoto/examples
+BASE_NAMES=`basename -s.xml ${EXAMPLES_DIR}/*.xml | sed 's/example-[^ ]*-rotstar3_1//'`
+GYOTO="/usr/bin/gyoto --nprocesses=0 --nthreads=4 --resolution=32"
+
+for base in ${BASE_NAMES} ; do
+    ${GYOTO} ${EXAMPLES_DIR}/${base}.xml \!${ADT_ARTIFACTS}/${base}.fits ;
+done
+
+exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list