Commit 61de013b authored by David Vorick's avatar David Vorick

restore debug tag for 'make test'

parent 1b4673dd
......@@ -68,7 +68,7 @@ pkgs = ./api ./build ./compatibility ./crypto ./encoding ./modules ./modules/con
./modules/miner ./modules/renter ./modules/transactionpool \
./modules/wallet ./persist ./siac ./siae ./types
test: REBUILD
go test -short -tags='testing' -timeout=3s $(pkgs) -run=$(run)
go test -short -tags='debug testing' -timeout=3s $(pkgs) -run=$(run)
test-v: REBUILD
go test -race -v -short -tags='debug testing' -timeout=15s $(pkgs) -run=$(run)
test-long: clean fmt REBUILD
......
......@@ -222,10 +222,6 @@ func TestCurrencyEncoding(t *testing.T) {
// TestNegativeCurrencyMulRat checks that negative numbers are rejected when
// calling MulRat on the currency type.
func TestNegativeCurrencyMulRat(t *testing.T) {
if testing.Short() {
t.SkipNow()
}
// In debug mode, attempting to get a negative currency results in a panic.
defer func() {
r := recover()
......@@ -241,10 +237,6 @@ func TestNegativeCurrencyMulRat(t *testing.T) {
// TestNegativeCurrencySub checks that negative numbers are prevented when
// using subtraction on the currency type.
func TestNegativeCurrencySub(t *testing.T) {
if testing.Short() {
t.SkipNow()
}
// In debug mode, attempting to get a negative currency results in a panic.
defer func() {
r := recover()
......@@ -294,10 +286,6 @@ func TestNegativeCurrencyScan(t *testing.T) {
// TestNegativeCurrencies tries an array of ways to produce a negative currency.
func TestNegativeNewCurrency(t *testing.T) {
if testing.Short() {
t.SkipNow()
}
// In debug mode, attempting to get a negative currency results in a panic.
defer func() {
r := recover()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment