Author: florian
Date: Sun May 18 16:16:13 2014
New Revision: 13982
Log:
Fix exp-bbv testcases such that they can be built out-of-tree.
Part of fixing #333628.
Modified:
trunk/exp-bbv/tests/amd64-linux/Makefile.am
trunk/exp-bbv/tests/amd64-linux/ll.S
trunk/exp-bbv/tests/arm-linux/Makefile.am
trunk/exp-bbv/tests/arm-linux/ll.S
trunk/exp-bbv/tests/ppc32-linux/Makefile.am
trunk/exp-bbv/tests/ppc32-linux/ll.S
trunk/exp-bbv/tests/x86-linux/Makefile.am
trunk/exp-bbv/tests/x86-linux/ll.S
Modified: trunk/exp-bbv/tests/amd64-linux/Makefile.am
==============================================================================
--- trunk/exp-bbv/tests/amd64-linux/Makefile.am (original)
+++ trunk/exp-bbv/tests/amd64-linux/Makefile.am Sun May 18 16:16:13 2014
@@ -23,7 +23,7 @@
rep_prefix.stderr.exp \
rep_prefix.vgtest
-AM_CCASFLAGS += -ffreestanding
+AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests
LDFLAGS += -nostartfiles -nodefaultlibs
Modified: trunk/exp-bbv/tests/amd64-linux/ll.S
==============================================================================
--- trunk/exp-bbv/tests/amd64-linux/ll.S (original)
+++ trunk/exp-bbv/tests/amd64-linux/ll.S Sun May 18 16:16:13 2014
@@ -9,7 +9,7 @@
#
-.include "../logo.include"
+.include "logo.include"
# offsets into the results returned by the uname syscall
.equ U_SYSNAME,0
@@ -563,7 +563,7 @@
three: .ascii "Three\0"
four: .ascii "Four\0"
-.include "../logo.lzss_new"
+.include "logo.lzss_new"
disk_buffer:
.ascii "processor : 0\n"
Modified: trunk/exp-bbv/tests/arm-linux/Makefile.am
==============================================================================
--- trunk/exp-bbv/tests/arm-linux/Makefile.am (original)
+++ trunk/exp-bbv/tests/arm-linux/Makefile.am Sun May 18 16:16:13 2014
@@ -14,7 +14,7 @@
million.post.exp \
million.vgtest
-AM_CCASFLAGS += -ffreestanding
+AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests
LDFLAGS += -nostartfiles -nodefaultlibs
Modified: trunk/exp-bbv/tests/arm-linux/ll.S
==============================================================================
--- trunk/exp-bbv/tests/arm-linux/ll.S (original)
+++ trunk/exp-bbv/tests/arm-linux/ll.S Sun May 18 16:16:13 2014
@@ -7,7 +7,7 @@
# Modified to remove non-deterministic system calls
# And to avoid reading from /proc
-.include "../logo.include"
+.include "logo.include"
# offsets into the results returned by the uname syscall
.equ U_SYSNAME,0
@@ -480,7 +480,7 @@
sysinfo_buff:
.long 0,0,0,0,512*1024*1024,0,0,0
-.include "../logo.lzss_new"
+.include "logo.lzss_new"
#============================================================================
Modified: trunk/exp-bbv/tests/ppc32-linux/Makefile.am
==============================================================================
--- trunk/exp-bbv/tests/ppc32-linux/Makefile.am (original)
+++ trunk/exp-bbv/tests/ppc32-linux/Makefile.am Sun May 18 16:16:13 2014
@@ -14,7 +14,7 @@
million.post.exp \
million.vgtest
-AM_CCASFLAGS += -ffreestanding -m32
+AM_CCASFLAGS += -ffreestanding -m32 -Xassembler -I$(top_srcdir)/exp-bbv/tests
LDFLAGS += -nostartfiles -nodefaultlibs -m32
Modified: trunk/exp-bbv/tests/ppc32-linux/ll.S
==============================================================================
--- trunk/exp-bbv/tests/ppc32-linux/ll.S (original)
+++ trunk/exp-bbv/tests/ppc32-linux/ll.S Sun May 18 16:16:13 2014
@@ -36,7 +36,7 @@
.equ BSS_BEGIN,25
.equ DATA_BEGIN,26
-.include "../logo.include"
+.include "logo.include"
.globl _start
_start:
@@ -503,7 +503,7 @@
data_begin:
-.include "../logo.lzss_new"
+.include "logo.lzss_new"
ver_string: .ascii " Version \0"
compiled_string: .ascii ", Compiled \0"
Modified: trunk/exp-bbv/tests/x86-linux/Makefile.am
==============================================================================
--- trunk/exp-bbv/tests/x86-linux/Makefile.am (original)
+++ trunk/exp-bbv/tests/x86-linux/Makefile.am Sun May 18 16:16:13 2014
@@ -14,7 +14,7 @@
ll.post.exp \
ll.vgtest
-AM_CCASFLAGS += -ffreestanding
+AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests
LDFLAGS += @FLAG_M32@ -static -nostartfiles -nodefaultlibs
Modified: trunk/exp-bbv/tests/x86-linux/ll.S
==============================================================================
--- trunk/exp-bbv/tests/x86-linux/ll.S (original)
+++ trunk/exp-bbv/tests/x86-linux/ll.S Sun May 18 16:16:13 2014
@@ -8,7 +8,7 @@
# And to avoid reading from /proc
#
-.include "../logo.include"
+.include "logo.include"
# offsets into the results returned by the uname syscall
.equ U_SYSNAME,0
@@ -563,7 +563,7 @@
three: .ascii "Three\0"
four: .ascii "Four\0"
-.include "../logo.lzss_new"
+.include "logo.lzss_new"
disk_buffer:
.ascii "processor : 0\n"
|