From 8945d06d46f6a0f7e058765239f34f73ce58bad2 Mon Sep 17 00:00:00 2001 From: Kanglan Tang Date: Tue, 7 Mar 2023 14:55:10 -0800 Subject: [PATCH] Add `-oss_excluded` to TF build/test tag filters Currently, `no_oss` is used to exclude a test from running in the official TF OSS test infrastructure. However, it is difficult to distinguish between temporary and permanent exclusions. For example, a test may be disabled temporarily if it is broken, or it may be designed to not run on OSS permanently. To address this issue, we introduce a new tag `oss_excluded` for platform exclusion design. `no_oss` will now be considered to disable broken tests, while `oss_excluded` will be used to permanently exclude a test from running on OSS. PiperOrigin-RevId: 514847796 --- tensorflow_gnn/docs/guide/developer.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tensorflow_gnn/docs/guide/developer.md b/tensorflow_gnn/docs/guide/developer.md index dd31fd4f..c723f754 100644 --- a/tensorflow_gnn/docs/guide/developer.md +++ b/tensorflow_gnn/docs/guide/developer.md @@ -90,8 +90,9 @@ bazel test --build_tag_filters=-no_oss --test_tag_filters=-no_oss --test_output= The `--define=no_tfgnn_py_deps=true` flag directs bazel to assume that all dependencies are provided in the environment (where we just installed the .whl) -The flags `--build_tag_filters=-no_oss` and `--test_tag_filters=-no_oss` disable -tests that pass in the internal production environment but fail on GitHub. +The flags `--build_tag_filters=-no_oss` and +`--test_tag_filters=-no_oss` disable tests that pass in the +internal production environment but fail on GitHub. ### Run a single test file