File: ruby-tests.rake

package info (click to toggle)
ruby-sprockets 4.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,952 kB
  • sloc: ruby: 13,007; javascript: 157; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'gem2deb/rake/testtask'

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test']

  # stuff that is not available in Debian as of 2018-07-14
  excludes = [
    'test/test_babel_processor.rb',
    'test/test_eco_processor.rb',
    'test/test_closure_compressor.rb',
    'test/test_yui_compressor.rb',
    'test/test_uglifier_compressor.rb',
    'test/test_jsminc_compressor.rb',
    'test/test_coffee_script_processor.rb',
    'test/test_require.rb',
    'test/test_environment.rb',
    'test/test_source_maps.rb',
    'test/test_exporting.rb',
    'test/test_asset.rb',
    'test/test_manifest.rb',
    'test/test_rake_task.rb',
  ]
  exclude_tests = ['--exclude=/eco|closure|yui/']

  t.test_files = FileList['test/**/test_*.rb'] - excludes + exclude_tests
end