mirror of
https://github.com/golang/go
synced 2024-11-20 07:44:41 -07:00
parent
20cacd64f1
commit
749da968e4
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
# Copyright 2009 The Go Authors. All rights reserved.
|
# Copyright 2009 The Go Authors. All rights reserved.
|
||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
@ -129,15 +129,16 @@ runtest() {
|
|||||||
|
|
||||||
|
|
||||||
runtests() {
|
runtests() {
|
||||||
if [ $# == 0 ]; then
|
if [ "$@" = "" ]; then
|
||||||
runtest apply
|
runtest apply
|
||||||
# verify the pretty-printed files can be compiled with $GC again
|
# verify the pretty-printed files can be compiled with $GC again
|
||||||
# do it in local directory only because of the prerequisites required
|
# do it in local directory only because of the prerequisites required
|
||||||
#echo "Testing validity"
|
#echo "Testing validity"
|
||||||
cleanup
|
# Disabled for now due to dependency problems
|
||||||
applydot valid
|
# cleanup
|
||||||
|
# applydot valid
|
||||||
else
|
else
|
||||||
for F in "$*"; do
|
for F in "$@"; do
|
||||||
runtest apply1 "$F"
|
runtest apply1 "$F"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user