# Commands for installing "make check" results

# Set this once.
#HOST=sparc-sun-solaris2.4
#COMPILER=cc
#BUILDDIR=/tmp/ffcall-sparc-solaris2.4/build-cc

ls old:

ll \
 configurations/${HOST}-${COMPILER} \
 avcall/tests.output/${HOST}-${COMPILER} \
 vacall/tests.output/${HOST}-${COMPILER} \
 trampoline/tests.passed/${HOST}-${COMPILER} \
 callback/tests.output/${HOST}-${COMPILER}

ls new:

ll \
 ${BUILDDIR}/config.cache \
 ${BUILDDIR}/avcall/tests.output.${HOST} \
 ${BUILDDIR}/vacall/tests.output.${HOST} \
 ${BUILDDIR}/trampoline/tests.passed.${HOST} \
 ${BUILDDIR}/callback/tests.output.${HOST}

diff:

diff -c1 configurations/${HOST}-${COMPILER} ${BUILDDIR}/config.cache
diff -c1 avcall/tests.output/${HOST}-${COMPILER} ${BUILDDIR}/avcall/tests.output.${HOST}
diff -c1 vacall/tests.output/${HOST}-${COMPILER} ${BUILDDIR}/vacall/tests.output.${HOST}
diff -c1 trampoline/tests.passed/${HOST}-${COMPILER} ${BUILDDIR}/trampoline/tests.passed.${HOST}
diff -c1 callback/tests.output/${HOST}-${COMPILER} ${BUILDDIR}/callback/tests.output.${HOST}

install:

cp -p ${BUILDDIR}/config.cache configurations/${HOST}-${COMPILER}
cp -p ${BUILDDIR}/avcall/tests.output.${HOST} avcall/tests.output/${HOST}-${COMPILER}
cp -p ${BUILDDIR}/vacall/tests.output.${HOST} vacall/tests.output/${HOST}-${COMPILER}
cp -p ${BUILDDIR}/trampoline/tests.passed.${HOST} trampoline/tests.passed/${HOST}-${COMPILER}
cp -p ${BUILDDIR}/callback/tests.output.${HOST} callback/tests.output/${HOST}-${COMPILER}
