-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving one testing helper script from languages to giella-core
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
|
||
## You should have received a copy of the GNU General Public License | ||
## along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
AC_INIT([giella-core], [0.24.0], [[email protected]], [giella-core], [https://github.com/giellalt/giella-core]) | ||
AC_INIT([giella-core], [0.25.0], [[email protected]], [giella-core], [https://github.com/giellalt/giella-core]) | ||
AC_REVISION([$Revision$]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AM_INIT_AUTOMAKE([1.9 tar-pax -Wall -Werror foreign]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# This is a shell script that only contains a few tests for the | ||
# morph-tester.py test runners. It is not intended to be used on its | ||
# own, but to be sourced (included) in the main shell scripts: | ||
# | ||
# source error-handling-stubs.sh | ||
|
||
# If Skipped=yes (used in lexc tests), no tests were found, and we return 77: | ||
if test "$Skipped" == "yes" ; then | ||
exit 77 | ||
fi | ||
|
||
# At least one of the Xerox or HFST tests failed: | ||
if test "$Fail" -ge 1; then | ||
exit 1 | ||
fi | ||
|
||
# Skip if no transducer were found - failing is problematic for lexc tests: | ||
if test "$transducer_found" = 0 ; then | ||
echo "No transducer found" | ||
exit 77 | ||
fi |