diff --git a/test/basic.test b/test/basic.test index 93a6453f..32ac5151 100644 --- a/test/basic.test +++ b/test/basic.test @@ -1,3 +1,4 @@ -RUN: echo '.globl _start; _start: jmp start' | cc -o %t.o -c -x assembler - -RUN: chibild -o %t %t.o +RUN: echo '.globl _start; _start: jmp loop' | cc -o %t1.o -c -x assembler - +RUN: echo '.globl loop; loop: jmp loop' | cc -o %t2.o -c -x assembler - +RUN: chibild -o %t %t1.o %t2.o RUN: file %t | grep ELF