Fix generating the header for the "Test" interface

This commit is contained in:
Pierre Pronchery 2019-09-27 02:45:04 +02:00
parent d743d7eec5
commit 4fda457f21
2 changed files with 2 additions and 2 deletions

View File

@ -92,6 +92,6 @@ while [ $# -gt 0 ]; do
source="${target#$OBJDIR}"
appinterface="${source##*/}"
appinterface="../data/${appinterface%%.h}.interface"
appinterface="${appinterface%%.h}.interface"
_appbroker "$target" "$appinterface" || exit 2
done

View File

@ -131,7 +131,7 @@ while [ $# -ne 0 ]; do
FAILED=
echo "Performing tests:" 1>&2
_date > "$target"
_test "appbroker.sh" "Test" "Test.interface"
_test "appbroker.sh" "Test" "Test.h"
APPINTERFACE_Test=Test.interface \
_test "appclient" "appclient" -a "Test" -n tcp:localhost:4242
_test "appinterface" "appinterface" -a "Dummy"