#!/bin/sh

set -e
set -u

export GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles

# Some tests require CFBase.h so we need a configure run.
# Arguments to configure must be kept in sync with those in the
# override_dh_auto_configure target in debian/rules.
./configure --without-gcd || (cat config.log; exit 1)

gnustep-tests Tests || (cat Tests/tests.log; exit 1)

exit 0
