]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/header-files
Update wvtool
[omk.git] / tests / header-files
index 7846b7f641809df196f508da82791d7f09d77507..1661eb3823f78f337a98af2d1a90e68a8759795b 100755 (executable)
@@ -1,10 +1,12 @@
-#!/bin/sh
+#!/bin/bash
 
-. ../../functions.sh
+. ./functions.sh
 
 touch config.omk-default
 make || exit 2
 
-(cd _compiled/include || exit 2; ls -R -1) > ls-include.test || canttest "Can't find include directory"
+eval $(make omk-get-var VAR=COMPILED_DIR_NAME|grep ^COMPILED_DIR_NAME)
+
+(cd $COMPILED_DIR_NAME/include || exit 2; ls -R -1) > ls-include.test || canttest "Can't find include directory"
 
 diff -u ls-include.txt ls-include.test || error "Include files are produced incorrectly"