From bbce9474d415de63d8db31548a4fb8e8c47a76b6 Mon Sep 17 00:00:00 2001 From: Scott Santucci Date: Tue, 1 Aug 2017 20:30:11 -0400 Subject: [PATCH] Ensure that compiler lookup works and not just that transpilation works (#2922) Test compilers lookup --- Makefile | 12 +++++++++--- test/{compiler => compiler-fixtures}/foo.js | 0 2 files changed, 9 insertions(+), 3 deletions(-) rename test/{compiler => compiler-fixtures}/foo.js (100%) diff --git a/Makefile b/Makefile index 2fa367e8ff..3e694ba6c0 100644 --- a/Makefile +++ b/Makefile @@ -74,9 +74,15 @@ test-integration: test-compilers: @printf "==> [Test :: Compilers]\n" - $(call test_node,compilers) --compilers coffee:coffee-script/register,foo:./test/compiler/foo \ - test/compiler/test.coffee \ - test/compiler/test.foo + $(call test_node,compilers-coffee) --compilers coffee:coffee-script/register \ + test/compiler + + $(call test_node,compilers-custom) --compilers foo:./test/compiler-fixtures/foo \ + test/compiler + + $(call test_node,compilers-multiple) \ + --compilers coffee:coffee-script/register,foo:./test/compiler-fixtures/foo \ + test/compiler test-requires: @printf "==> [Test :: Requires]\n" diff --git a/test/compiler/foo.js b/test/compiler-fixtures/foo.js similarity index 100% rename from test/compiler/foo.js rename to test/compiler-fixtures/foo.js