Skip to content

Commit

Permalink
streamline testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Jun 3, 2017
1 parent d723416 commit f36f99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Reduce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ __init__() = (LoadReduce(); atexit(() -> kill(rs)))
function LoadReduce()
global rs = PSL(); write(rs,"off nat") # disable nat mode
banner = readuntil(rs.output,EOT) |> String; readavailable(rs.output);
ReduceCheck(banner); println(split(String(banner),'\n')[end-3])
is_windows() && (banner = replace(banner,r"\r","")); ReduceCheck(banner)
!is_windows() || (is_windows() && !contains(dirname(@__FILE__),"appveyor")) && println(split(String(banner),'\n')[end-3])
ra"load_package rlfi" |> rcall # load REDUCE's LaTeX package
if isdefined(Base,:active_repl) && isinteractive()
repl_init(Base.active_repl); end; end
Expand Down

0 comments on commit f36f99c

Please sign in to comment.