Explicitly use build dir in symbolize
Change-Id: I47f358db6f3b3124725627ccb53d5bc29a96b9a3
diff --git a/recipes/fuchsia.expected/backtrace.json b/recipes/fuchsia.expected/backtrace.json
index 93d2ff8..6a7564f 100644
--- a/recipes/fuchsia.expected/backtrace.json
+++ b/recipes/fuchsia.expected/backtrace.json
@@ -386,7 +386,9 @@
"[START_DIR]/magenta/scripts/symbolize",
"--no-echo",
"--file",
- "qemu.stdout"
+ "qemu.stdout",
+ "--build-dir",
+ "[START_DIR]/out/debug-x86-64"
],
"name": "symbolize",
"stdout": "/path/to/tmp/",
diff --git a/recipes/fuchsia.expected/boot_module.json b/recipes/fuchsia.expected/boot_module.json
index 1b8f5c3..c022426 100644
--- a/recipes/fuchsia.expected/boot_module.json
+++ b/recipes/fuchsia.expected/boot_module.json
@@ -382,7 +382,9 @@
"[START_DIR]/magenta/scripts/symbolize",
"--no-echo",
"--file",
- "qemu.stdout"
+ "qemu.stdout",
+ "--build-dir",
+ "[START_DIR]/out/debug-x86-64"
],
"name": "symbolize",
"stdout": "/path/to/tmp/"
diff --git a/recipes/fuchsia.expected/failed_tests.json b/recipes/fuchsia.expected/failed_tests.json
index bb2e954c..583eeb2 100644
--- a/recipes/fuchsia.expected/failed_tests.json
+++ b/recipes/fuchsia.expected/failed_tests.json
@@ -386,7 +386,9 @@
"[START_DIR]/magenta/scripts/symbolize",
"--no-echo",
"--file",
- "qemu.stdout"
+ "qemu.stdout",
+ "--build-dir",
+ "[START_DIR]/out/debug-x86-64"
],
"name": "symbolize",
"stdout": "/path/to/tmp/"
diff --git a/recipes/fuchsia.expected/tests.json b/recipes/fuchsia.expected/tests.json
index ce2a5b4..b1a1a06 100644
--- a/recipes/fuchsia.expected/tests.json
+++ b/recipes/fuchsia.expected/tests.json
@@ -382,7 +382,9 @@
"[START_DIR]/magenta/scripts/symbolize",
"--no-echo",
"--file",
- "qemu.stdout"
+ "qemu.stdout",
+ "--build-dir",
+ "[START_DIR]/out/debug-x86-64"
],
"name": "symbolize",
"stdout": "/path/to/tmp/"
diff --git a/recipes/fuchsia.py b/recipes/fuchsia.py
index 0ee7385..5417f0d 100644
--- a/recipes/fuchsia.py
+++ b/recipes/fuchsia.py
@@ -189,8 +189,8 @@
symbolize_cmd = [
start_dir.join('magenta', 'scripts', 'symbolize'),
'--no-echo',
- '--file',
- 'qemu.stdout',
+ '--file', 'qemu.stdout',
+ '--build-dir', fuchsia_build_dir,
]
step_result = api.step('symbolize', symbolize_cmd,
stdout=api.raw_io.output(),