Adds unit tests for safe reset trial.
Since they rely on a real time simulation, a new build target is
introduced that is intended to be used for real time tests.
Bug: webrtc:9518
Change-Id: Iea58f6a2b687f026e9ab1f37b4aabf8261ed7d23
Reviewed-on: https://webrtc-review.googlesource.com/c/107345
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25410}
diff --git a/BUILD.gn b/BUILD.gn
index d4e89fd..1be75d3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -40,6 +40,7 @@
if (rtc_include_tests) {
deps += [
":rtc_unittests",
+ ":slow_tests",
":video_engine_tests",
":webrtc_nonparallel_tests",
":webrtc_perf_tests",
@@ -501,6 +502,17 @@
}
}
+ # This runs tests that must run in real time and therefore can take some
+ # time to execute. They are in a separate executable to avoid making the
+ # regular unittest suite too slow to run frequently.
+ rtc_test("slow_tests") {
+ testonly = true
+ deps = [
+ "modules/congestion_controller/goog_cc:goog_cc_slow_tests",
+ "test:test_main",
+ ]
+ }
+
# TODO(pbos): Rename test suite, this is no longer "just" for video targets.
video_engine_tests_resources = [
"resources/foreman_cif_short.yuv",