From b834e188e6a2df3b2fd689618d43e6f878a5d1e4 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 19 Mar 2012 16:52:14 +0100 Subject: Update cross build system for tests to work ts has been fixed to again work in a cross build environment. See ts:help() and xcomp/README.md for details about how it works. --- lib/test_server/src/ts_make.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/test_server/src/ts_make.erl') diff --git a/lib/test_server/src/ts_make.erl b/lib/test_server/src/ts_make.erl index 3df66111a3..f0db60013a 100644 --- a/lib/test_server/src/ts_make.erl +++ b/lib/test_server/src/ts_make.erl @@ -25,12 +25,12 @@ %% Functions to be called from make test cases. make(Config) when is_list(Config) -> - DataDir = ?config(data_dir, Config), - Makefile = ?config(makefile, Config), - Make = ?config(make_command, Config), + DataDir = proplists:get_value(data_dir, Config), + Makefile = proplists:get_value(makefile, Config), + Make = proplists:get_value(make_command, Config), case make(Make, DataDir, Makefile) of ok -> ok; - {error,Reason} -> ?t:fail({make_failed,Reason}) + {error,Reason} -> exit({make_failed,Reason}) end. unmake(Config) when is_list(Config) -> -- cgit v1.2.3