Skip to content

Commit b2db90a

Browse files
committed
Setup regression test
Signed-off-by: Afonso Oliveira <[email protected]>
1 parent ffb9fd1 commit b2db90a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Rakefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
require "etc"
4-
4+
require "open3"
55
$root = Pathname.new(__FILE__).dirname.realpath
66
$lib = $root / "lib"
77

@@ -274,6 +274,15 @@ namespace :gen do
274274
end
275275
end
276276

277+
desc <<~DESC
278+
Check all encodings against binutils
279+
280+
Part of the regression test.
281+
DESC
282+
task :encoding_validate do
283+
sh ".home/.venv/bin/python ext/binutils-gdb/encoding.py"
284+
end
285+
277286
desc <<~DESC
278287
Run the regression tests
279288
@@ -283,6 +292,7 @@ task :regress do
283292
Rake::Task["idl_test"].invoke
284293
Rake::Task["lib_test"].invoke
285294
Rake::Task["validate"].invoke
295+
Rake::Task["encoding_validate"].invoke
286296
ENV["MANUAL_NAME"] = "isa"
287297
ENV["VERSIONS"] = "all"
288298
Rake::Task["gen:html_manual"].invoke

0 commit comments

Comments
 (0)