4 1. Build Closure Compiler jar with all tests:
6 git clone https://github.com/google/closure-compiler.git
10 2. Add test file to Eclipse and run tests in it.
12 - File -> New -> Java Project.
13 - Enter any project name, click "Next >".
14 - On the tab "Source" click on the icon "Link additional source to project".
15 - Select "third_party/closure_compiler/runner/test", click "Finish".
16 - Click on the icon "Link additional source to project" once again.
17 - Select "third_party/closure_compiler/runner/src", type a name "src2",
19 - On the tab "Libraries" click "Add External JARs...".
20 - Select "closure-compiler/build/compiler.jar", click "Finish" two times.
21 - Open the class test/com.google.javascript.jscomp/ChromePassTest.java.
22 - Run As -> JUnit Test.
30 ./third_party/closure_compiler/runner/build_runner_jar.py
31 ./third_party/closure_compiler/compiler_customization_test.py