File: qa.sh

package info (click to toggle)
apertium-kaz 0.1.0~r61338-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 21,436 kB
  • sloc: python: 368; sh: 203; makefile: 154; xml: 94
file content (15 lines) | stat: -rwxr-xr-x 316 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Takes the basename of the test scrpt in /test-scripts as an argument,
# an addtional argument if the test requires it, and runs the test.
#
# Usage: ./qa.sh (will default to './qa.sh kaz')

if [ $# -eq 0 ]
then
    testToRun=kaz.test
else
    testToRun=$1.test
fi

bash "test-scripts/$testToRun" "$2"