Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(729)

Unified Diff: src/cmd/gotest/gotest

Issue 152138: code review 152138: Build changes to support work on the BSDs. (Closed)
Patch Set: code review 152138: Build changes to support work on the BSDs. Created 15 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/gofmt/test.sh ('k') | src/cmd/make.bash » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/gotest/gotest
===================================================================
--- a/src/cmd/gotest/gotest
+++ b/src/cmd/gotest/gotest
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
@@ -94,8 +94,8 @@
set -e
-make testpackage-clean
-make testpackage "GOTESTFILES=$gofiles"
+gomake testpackage-clean
+gomake testpackage "GOTESTFILES=$gofiles"
if $havex; then
$GC -o $xofile $xgofiles
fi
@@ -107,7 +107,7 @@
MAKEFLAGS=
MAKELEVEL=
-importpath=$(make -s importpath)
+importpath=$(gomake -s importpath)
{
# test functions are named TestFoo
# the grep -v eliminates methods and other special names
« no previous file with comments | « src/cmd/gofmt/test.sh ('k') | src/cmd/make.bash » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b