Properly refer the stdlib
This commit is contained in:
parent
eadb4e8c83
commit
254172e3a3
@ -92,8 +92,7 @@ simple_compile_test_() ->
|
|||||||
|
|
||||||
%% Check if all modules in the standard library compile
|
%% Check if all modules in the standard library compile
|
||||||
stdlib_test_() ->
|
stdlib_test_() ->
|
||||||
StdlibDir = filename:append(code:priv_dir(aesophia), "stdlib"),
|
{ok, Files} = file:list_dir(aeso_stdlib:stdlib_include_path()),
|
||||||
{ok, Files} = file:list_dir(StdlibDir),
|
|
||||||
[ { "Testing " ++ File ++ " from the stdlib",
|
[ { "Testing " ++ File ++ " from the stdlib",
|
||||||
fun() ->
|
fun() ->
|
||||||
String = "include \"" ++ File ++ "\"\nmain contract Test =\n entrypoint f(x) = x",
|
String = "include \"" ++ File ++ "\"\nmain contract Test =\n entrypoint f(x) = x",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user