From c24a9a494f1edad4635cc9f4f9fad4125f392ec6 Mon Sep 17 00:00:00 2001 From: Aku Kotkavuo Date: Fri, 9 Dec 2016 00:15:08 +0200 Subject: [PATCH] spim 9.1.17 Closes #7702. Signed-off-by: William Woodruff --- Formula/spim.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Formula/spim.rb b/Formula/spim.rb index de4546c666..f41c8a7f62 100644 --- a/Formula/spim.rb +++ b/Formula/spim.rb @@ -2,8 +2,8 @@ class Spim < Formula desc "MIPS32 simulator" homepage "http://spimsimulator.sourceforge.net/" # No source code tarball exists - url "http://svn.code.sf.net/p/spimsimulator/code", :revision => 641 - version "9.1.13" + url "http://svn.code.sf.net/p/spimsimulator/code", :revision => 681 + version "9.1.17" bottle do rebuild 1 @@ -17,9 +17,14 @@ class Spim < Formula bin.mkpath cd "spim" do system "make", "EXCEPTION_DIR=#{share}" + system "make", "test" system "make", "install", "BIN_DIR=#{bin}", "EXCEPTION_DIR=#{share}", "MAN_DIR=#{man1}" end end + + test do + assert_match "__start", pipe_output("#{bin}/spim", "print_symbols") + end end