vitess-gh/Makefile

52 строки
2.0 KiB
Makefile
Исходник Обычный вид История

# Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
MAKEFLAGS = -s
2012-11-29 04:41:43 +04:00
all: build unit_test queryservice_test integration_test
build:
go install ./go/...
clean:
go clean -i ./go/...
unit_test:
2013-07-27 04:02:14 +04:00
go test ./go/...
unit_test_race:
go test -race ./go/...
2012-11-29 04:41:43 +04:00
queryservice_test:
echo "queryservice test"
if [ -e "/usr/bin/memcached" ]; then \
time test/queryservice_test.py -m ; \
else \
time test/queryservice_test.py ; \
fi
2014-03-08 02:45:50 +04:00
time test/sensitive_info_test.py
# export VT_TEST_FLAGS=-v for instance
2012-12-28 02:25:51 +04:00
integration_test:
cd test ; echo "schema test"; time ./schema.py $$VT_TEST_FLAGS
cd test ; echo "sharded test"; time ./sharded.py $$VT_TEST_FLAGS
cd test ; echo "tabletmanager test"; time ./tabletmanager.py $$VT_TEST_FLAGS
cd test ; echo "clone test"; time ./clone.py $$VT_TEST_FLAGS
cd test ; echo "reparent test"; time ./reparent.py $$VT_TEST_FLAGS
2013-07-27 04:02:14 +04:00
cd test ; echo "zkocc test"; time ./zkocc_test.py $$VT_TEST_FLAGS
cd test ; echo "updatestream test"; time ./update_stream.py
cd test ; echo "rowcache_invalidator test"; time ./rowcache_invalidator.py
cd test ; echo "secure test"; time ./secure.py $$VT_TEST_FLAGS
2013-08-06 23:26:59 +04:00
cd test ; echo "resharding test"; time ./resharding.py $$VT_TEST_FLAGS
cd test ; echo "resharding_bytes test"; time ./resharding_bytes.py $$VT_TEST_FLAGS
2013-08-17 01:31:11 +04:00
cd test ; echo "vtdb test"; time ./vtdb_test.py $$VT_TEST_FLAGS
2014-02-13 03:59:45 +04:00
cd test ; echo "vtgate test"; time ./vtgate_test.py $$VT_TEST_FLAGS
cd test ; echo "keyrange test"; time ./keyrange_test.py $$VT_TEST_FLAGS
2014-02-13 03:59:45 +04:00
cd test ; echo "vertical_split test"; time ./vertical_split.py $$VT_TEST_FLAGS
cd test ; echo "vertical_split_vtgate test"; time ./vertical_split_vtgate.py $$VT_TEST_FLAGS
cd test ; echo "initial_sharding test"; time ./initial_sharding.py $$VT_TEST_FLAGS
cd test ; echo "initial_sharding_bytes test"; time ./initial_sharding_bytes.py $$VT_TEST_FLAGS
2014-02-21 01:35:49 +04:00
cd test ; echo "keyspace_test test"; time ./keyspace_test.py $$VT_TEST_FLAGS