summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/rubyunit.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/compiler/rubyunit.mnv')
-rw-r--r--mnv/runtime/compiler/rubyunit.mnv32
1 files changed, 32 insertions, 0 deletions
diff --git a/mnv/runtime/compiler/rubyunit.mnv b/mnv/runtime/compiler/rubyunit.mnv
new file mode 100644
index 0000000000..ed20a3cb6b
--- /dev/null
+++ b/mnv/runtime/compiler/rubyunit.mnv
@@ -0,0 +1,32 @@
+" MNV compiler file
+" Language: Test::Unit - Ruby Unit Testing Framework
+" Maintainer: Doug Kearns <dougkearns@gmail.com>
+" URL: https://github.com/mnv-ruby/mnv-ruby
+" Last Change: 2014 Mar 23
+" 2024 Apr 03 by The MNV Project (removed :CompilerSet definition)
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "rubyunit"
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+CompilerSet makeprg=testrb
+" CompilerSet makeprg=ruby\ -Itest
+" CompilerSet makeprg=m
+
+CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
+ \%C%m\ [%f:%l]:,
+ \%E\ %\\+%\\d%\\+)\ Error:,
+ \%C%m:,
+ \%C\ \ \ \ %f:%l:%.%#,
+ \%C%m,
+ \%Z\ %#,
+ \%-G%.%#
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+" mnv: nowrap sw=2 sts=2 ts=8: