RUN: #This particular assembler code only works on OSX
RUN: PLATFORM=`uname`
RUN: if [ "$PLATFORM" != "Darwin" ]; then exit; fi
RUN: aspicere2-debug.sh ${ASPICERE2_SRC}/test/Feature/AsmExecution/main.c -o Output/db-debug -aspects ${ASPICERE2_BUILD}/test/Feature/AsmExecution/aspects.lst -modules ${ASPICERE2_BUILD}/test/Feature/AsmExecution/modules.lst
RUN: llc Output/db-debug.bc -o Output/db-debug.s
RUN: rm -f Output/db-debug
RUN: llvm-gcc Output/db-debug.s -o Output/db-debug
RUN: llvm-dis -f Output/db-debug.bc
RUN: rm -f ${ASPICERE2_BUILD}/test/Feature/AsmExecution/log.txt
RUN: ./Output/db-debug 2&> %t2
RUN: diff %t2 ${ASPICERE2_SRC}/test/Feature/AsmExecution/output.txt && diff ${ASPICERE2_BUILD}/test/Feature/AsmExecution/log.txt ${ASPICERE2_SRC}/test/Feature/AsmExecution/log.txt.txt
