Commit 09be69c0 authored by Lev Walkin's avatar Lev Walkin

compatibility with building off-sources

parent 8e711512
...@@ -228,7 +228,7 @@ asn_compile() { ...@@ -228,7 +228,7 @@ asn_compile() {
return 1 return 1
fi fi
rm -f converter-example.c rm -f converter-example.c
ln -sf ../random-test-driver.c || cp ../random-test-driver.c . ln -sf "../${srcdir}/random-test-driver.c" || cp "../${srcdir}/random-test-driver.c" .
echo "CFLAGS+= -DASN1_TEXT='$short_asn'" > Makefile echo "CFLAGS+= -DASN1_TEXT='$short_asn'" > Makefile
sed -e 's/converter-example/random-test-driver/' \ sed -e 's/converter-example/random-test-driver/' \
< Makefile.am.example >> Makefile < Makefile.am.example >> Makefile
...@@ -288,7 +288,7 @@ while :; do ...@@ -288,7 +288,7 @@ while :; do
parallelism=1 # Better for debuggability parallelism=1 # Better for debuggability
test_drive verify_asn_type "$2" "(command line)" || exit 1 ;; test_drive verify_asn_type "$2" "(command line)" || exit 1 ;;
"") "")
for bundle in `echo bundles/*txt | sort -nr`; do for bundle in `ls -1 ${srcdir}/bundles/*.txt | sort -nr`; do
test_drive verify_asn_types_in_file "$bundle" test_drive verify_asn_types_in_file "$bundle"
done done
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment