Port fuse tests to Makefile.

PiperOrigin-RevId: 332878900
This commit is contained in:
Ayush Ranjan
2020-09-21 10:27:13 -07:00
committed by gVisor bot
parent 5ce5882951
commit e09d78f016
2 changed files with 5 additions and 20 deletions
+5
View File
@@ -121,8 +121,13 @@ smoke-tests: ## Runs a simple smoke test after build runsc.
@$(call submake,run DOCKER_PRIVILEGED="" ARGS="--alsologtostderr --network none --debug --TESTONLY-unsafe-nonroot=true --rootless do true")
.PHONY: smoke-tests
fuse-tests:
@$(call submake,test OPTIONS="--test_tag_filters fuse" TARGETS="test/fuse/...")
.PHONY: fuse-tests
unit-tests: ## Local package unit tests in pkg/..., runsc/, tools/.., etc.
@$(call submake,test TARGETS="pkg/... runsc/... tools/...")
.PHONY: unit-tests
tests: ## Runs all unit tests and syscall tests.
tests: unit-tests
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2020 The gVisor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
source $(dirname $0)/common.sh
# Run all vfs2_fuse system call tests.
test --test_tag_filters=fuse //test/fuse/...