rtags: fix tests block
Closes #7144. Signed-off-by: Uladzislau Shablinski <vladshablinsky@gmail.com>
This commit is contained in:
parent
51de6faf3f
commit
f3c413d873
1 changed files with 3 additions and 3 deletions
|
@ -82,14 +82,14 @@ class Rtags < Formula
|
|||
rdm = fork do
|
||||
$stdout.reopen("/dev/null")
|
||||
$stderr.reopen("/dev/null")
|
||||
exec "#{bin}/rdm", "-L", "log"
|
||||
exec "#{bin}/rdm", "--exclude-filter=\"\"", "-L", "log"
|
||||
end
|
||||
|
||||
begin
|
||||
sleep 1
|
||||
pipe_output("#{bin}/rc -c", "clang -c src/foo.c", 0)
|
||||
pipe_output("#{bin}/rc -c", "clang -c #{testpath}/src/foo.c", 0)
|
||||
sleep 1
|
||||
assert_match "foo.c:1:6", shell_output("#{bin}/rc -f src/foo.c:5:3")
|
||||
assert_match "foo.c:1:6", shell_output("#{bin}/rc -f #{testpath}/src/foo.c:5:3")
|
||||
system "#{bin}/rc", "-q"
|
||||
ensure
|
||||
Process.kill 9, rdm
|
||||
|
|
Loading…
Reference in a new issue