From f9900822fc5f0b0c7242ca318290c090bd5d0af0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
Date: Sat, 12 Jul 2014 21:29:17 +0300
Subject: [PATCH] fate: Use the correct, local path to samples for opus
 reference files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This fixes running fate in configs where the samples are located
in a different path on the target.

Signed-off-by: Martin Storsjö <martin@martin.st>
---
 tests/fate/opus.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/opus.mak b/tests/fate/opus.mak
index 5c638ffe84f..161a94f4728 100644
--- a/tests/fate/opus.mak
+++ b/tests/fate/opus.mak
@@ -15,7 +15,7 @@ define FATE_OPUS_TEST
 FATE_OPUS     += fate-opus-$(1)
 FATE_OPUS$(2) += fate-opus-$(1)
 fate-opus-$(1): CMD = avconv -i $(TARGET_SAMPLES)/opus/$(1).mka -f f32le -
-fate-opus-$(1): REF = $(TARGET_SAMPLES)/opus/$(1).f32
+fate-opus-$(1): REF = $(SAMPLES)/opus/$(1).f32
 endef
 
 $(foreach N,$(OPUS_CELT_SAMPLES),  $(eval $(call FATE_OPUS_TEST,$(N),_CELT)))
-- 
GitLab