From 1173560b55a4f3469a198f5960f4a54eff6c848f Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 30 Jun 2025 08:10:21 -0400 Subject: [PATCH] AI: Add run utest in guideline for augment code. --- .augment-guidelines | 6 ++++++ .vscode/settings.json | 44 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/.augment-guidelines b/.augment-guidelines index 84c81f95a..522942d1a 100644 --- a/.augment-guidelines +++ b/.augment-guidelines @@ -69,3 +69,9 @@ build: command: "cd trunk && make -j" description: "Build the SRS server using parallel make in the trunk directory" working_directory: "trunk" + +run-utests: + command: "cd trunk && make utest -j && ./objs/srs_utest" + description: "Run the unit tests for SRS" + working_directory: "trunk" + diff --git a/.vscode/settings.json b/.vscode/settings.json index 4f970fc6a..bdd1806af 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -23,6 +23,48 @@ "stack": "cpp", "string": "cpp", "string_view": "cpp", - "unordered_map": "cpp" + "unordered_map": "cpp", + "__bit_reference": "cpp", + "__locale": "cpp", + "__node_handle": "cpp", + "__verbose_abort": "cpp", + "any": "cpp", + "cctype": "cpp", + "charconv": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "complex": "cpp", + "condition_variable": "cpp", + "csignal": "cpp", + "cstdarg": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "execution": "cpp", + "memory": "cpp", + "forward_list": "cpp", + "fstream": "cpp", + "iomanip": "cpp", + "ios": "cpp", + "iosfwd": "cpp", + "iostream": "cpp", + "istream": "cpp", + "limits": "cpp", + "locale": "cpp", + "mutex": "cpp", + "new": "cpp", + "optional": "cpp", + "print": "cpp", + "ratio": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "typeinfo": "cpp", + "variant": "cpp", + "algorithm": "cpp" } }