1Creating the LFE-derived test suites 2==================================== 3 4Here is how to create `lfe_andor_SUITE.core` and `lfe_guard_SUITE.core` 5files. 6 7First clone and build LFE. 8 9 git clone https://github.com/rvirding/lfe.git 10 cd lfe 11 git checkout v1.2.0 12 MAKEFLAGS='' make compile 13 export PATH=$(pwd)/bin:$PATH 14 15Apply the source patch to rename and fix up the LFE source code: 16 17 cd test 18 git apply $ERL_TOP/lib/compiler/test/lfe-source.patch 19 git reset --hard HEAD 20 21Compile the modules to Core Erlang: 22 23 lfec +to-core0 lfe*.lfe 24 25Apply the core patch to correct some invalid variable names: 26 27 git apply $ERL_TOP/lib/compiler/test/lfe-core.patch 28 29Copy the patched .core file to the test suite: 30 31 cp lfe*.core $ERL_TOP/lib/compiler/test 32