I have an autotest script that has a direct path associated with it in order to locate my directory that contains the basefiles used for comparison. My question is...how do I make this script run without containing a direct path so that a build on a server will work? Here is my code and I am referring to line 5. Thanks! # Process with autom4te to create an -*- Autotest -*- test suite. m4_define([_getocapi], [getocapi]) m4_define([base_url], [http://test.opendap.org:8080/dods/dts]) m4_define([baseline_files_dir], [/home/rikki/workspace/Ocapi/Tests]) # # ------------------------------ # AT_INIT([getocapi]) # AT_COPYRIGHT([]) AT_TESTED([_getocapi]) # Usage: _AT_TEST(<data source URL>, <baseline file>) m4_define([_AT_DAS_TEST], [AT_BANNER([Test $1 $2]) AT_SETUP([DAS $1]) AT_KEYWORDS([das]) AT_CHECK([_getocapi -a $1], [], [stdout], [ignore]) AT_CHECK([diff -b -B $2 stdout], [], [ignore],[],[]) AT_CLEANUP]) m4_define([_AT_DDS_TEST], [AT_BANNER([Test $1 $2]) AT_SETUP([DDS $1]) AT_KEYWORDS([dds]) AT_CHECK([_getocapi -d $1], [], [stdout], [ignore]) AT_CHECK([diff -b -B $2 stdout], [], [ignore]) AT_CLEANUP]) m4_define([_AT_DODS_TEST], [AT_BANNER([Test $1 $2]) AT_SETUP([DODS $1]) AT_KEYWORDS([dods]) AT_CHECK([_getocapi -D $1], [], [stdout], [ignore]) AT_CHECK([diff -b -B $2 stdout], [], [ignore]) AT_CLEANUP]) m4_define([AT_DAS_RESPONSE_TEST], [AT_BANNER([getocapi basic responses for $1.]) _AT_DAS_TEST([base_url/$1], [baseline_files_dir/das/$1.das]) ]) m4_define([AT_DDS_RESPONSE_TEST], [AT_BANNER([getocapi basic responses for $1.]) _AT_DDS_TEST([base_url/$1], [baseline_files_dir/dds/$1.dds]) ]) m4_define([AT_DODS_RESPONSE_TEST], [AT_BANNER([getocapi basic responses for $1.]) _AT_DODS_TEST([base_url/$1], [baseline_files_dir/dods/$1.dods]) ]) --
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf