mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
27 lines
619 B
Bash
Executable File
27 lines
619 B
Bash
Executable File
#! /usr/bin/env sh
|
|
|
|
set -v
|
|
set -e
|
|
|
|
export PATH=$INSTALL_DIR/bin:$PATH
|
|
export GPR_PROJECT_PATH=$LIB_INSTALL_DIR/share/gpr
|
|
|
|
# Log the toolchain to use
|
|
which gcc
|
|
which gprbuild
|
|
gcc -v
|
|
gprbuild -v
|
|
|
|
# Duplicate output of testsuite in file TESTSUITE_OUT.
|
|
#
|
|
# TODO: adjust the Travis CI setup to provide a viable OCaml environment and
|
|
# enable the corresponding testcases.
|
|
./scripts/interactive_testsuite \
|
|
--discriminants gnat_community_2018 \
|
|
--no-auto-path \
|
|
--disable-ocaml \
|
|
| tee TESTSUITE_OUT
|
|
|
|
# Exit with an error if there is a FAILED line in TESTSUITE_OUT
|
|
! grep "FAILED " TESTSUITE_OUT > /dev/null
|