From 7eb03ea198471ecb64af25d6956be0bbaadc8ee2 Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Thu, 8 Oct 2020 01:52:40 -0400 Subject: [PATCH] Only test liquid-c integration using the integration tests --- Rakefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 780ec35..c8e78bf 100755 --- a/Rakefile +++ b/Rakefile @@ -14,6 +14,12 @@ Rake::TestTask.new(:base_test) do |t| t.verbose = false end +Rake::TestTask.new(:integration_test) do |t| + t.libs << 'lib' << 'test' + t.test_files = FileList['test/integration/**/*_test.rb'] + t.verbose = false +end + desc('run test suite with warn error mode') task :warn_test do ENV['LIQUID_PARSER_MODE'] = 'warn' @@ -40,12 +46,12 @@ task :test do ENV['LIQUID_C'] = '1' ENV['LIQUID_PARSER_MODE'] = 'lax' - Rake::Task['base_test'].reenable - Rake::Task['base_test'].invoke + Rake::Task['integration_test'].reenable + Rake::Task['integration_test'].invoke ENV['LIQUID_PARSER_MODE'] = 'strict' - Rake::Task['base_test'].reenable - Rake::Task['base_test'].invoke + Rake::Task['integration_test'].reenable + Rake::Task['integration_test'].invoke end end