Fix Frac library and add stdlib compilation test #809

Merged
zxq9 merged 2 commits from stdlib-tests into master 2021-06-24 16:29:12 +09:00
Showing only changes of commit 254172e3a3 - Show all commits

View File

@ -92,8 +92,7 @@ simple_compile_test_() ->
%% Check if all modules in the standard library compile
stdlib_test_() ->
StdlibDir = filename:append(code:priv_dir(aesophia), "stdlib"),
{ok, Files} = file:list_dir(StdlibDir),
{ok, Files} = file:list_dir(aeso_stdlib:stdlib_include_path()),
[ { "Testing " ++ File ++ " from the stdlib",
fun() ->
String = "include \"" ++ File ++ "\"\nmain contract Test =\n entrypoint f(x) = x",