File: test_all.sh

package info (click to toggle)
ruby-oj 3.16.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,192 kB
  • sloc: ansic: 19,659; ruby: 11,750; sh: 70; makefile: 17
file content (41 lines) | stat: -rwxr-xr-x 1,495 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh

echo "----- General tests (tests.rb) -----"
ruby tests.rb

echo "----- Various tests (test_various.rb) -----"
# test_various forks which causes issues with other tests.
ruby test_various.rb

echo "----- Parser(:saj) tests (test_parser_saj.rb) -----"
ruby test_parser_saj.rb

echo "----- Parser(:usual) tests (test_parser_usual.rb) -----"
ruby test_parser_usual.rb

echo "----- Mimic tests (tests_mimic.rb) -----"
ruby tests_mimic.rb

echo "----- Mimic with additions tests (tests_mimic_addition.rb) -----"
ruby tests_mimic_addition.rb

echo "----- Oj.generate without calling mimic_JSON (test_generate.rb) -----"
ruby test_generate.rb

## only run if <= 1.9.3
#echo "----- Mimic tests (isolated/test_mimic_after.rb) -----"
#ruby isolated/test_mimic_after.rb
#echo "----- Mimic tests (isolated/test_mimic_alone.rb) -----"
#ruby isolated/test_mimic_alone.rb
#echo "----- Mimic tests (isolated/test_mimic_before.rb) -----"
#ruby isolated/test_mimic_before.rb
#echo "----- Mimic tests (isolated/test_mimic_define.rb) -----"
#ruby isolated/test_mimic_define.rb
#echo "----- Mimic tests (isolated/test_mimic_redefine.rb) -----"
#ruby isolated/test_mimic_redefine.rb
#echo "----- Mimic tests (isolated/test_mimic_rails_after.rb) -----"
#ruby isolated/test_mimic_rails_after.rb
#echo "----- Mimic tests (isolated/test_mimic_rails_before.rb) -----"
#ruby isolated/test_mimic_rails_before.rb
#echo "----- Mimic tests (isolated/test_mimic_as_json.rb) -----"
#ruby isolated/test_mimic_as_json.rb