|
Meta tags:
description=The RT-Thread package testing tool. Contribute to RT-Thread/pkgs-test development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, repository, about, files, footer, resources, stars, watchers, forks, pkgs, test, 测试框架, menu, latest, commit, history, folders, and, github, actions使用, 本地使用, releases, packages, used, by, contributors, languages, 用法, packages仓库, 软件包仓库, 用户使用, 执行测试, 使用config设置配置文件, 使用check检查测试结果, 改动测试, 定时全部测试, 针对于不同使用用户所使用的的测试命令, 部分示例,
Text of the page (most frequently used words):
pkgs (44), test (37), github (30), thread (17), config (16), #package (14), master (13), hello (12), false (12), branch (11), sourcery (11), true (10), and (10), python (8), json (8), arm (8), 默认值为 (8), check (7), tag (7), bsp (7), workflows (7), all (7), you (6), action (6), repository (6), stm32h750 (6), artpi (6), python3 (6), main (6), deploy (6), pages (6), append (6), for (6), with (6), event_name (6), code (6), security (5), readme (5), the (5), pkg (5), rtt (5), yml (5), uses (5), navigation (4), packages (4), forks (4), stars (4), rtthread (4), qemu (4), vexpress (4), stm32 (4), bsps (4), 版本测试 (4), latest (4), errors (4), res (4), k210 (4), signed (4), your (4), support (4), copilot (4), resources (3), testing (3), tool (3), about (3), file (3), 进行所支持的 (3), name (3), https (3), versions (3), riscv (3), none (3), embed (3), more (3), files (3), commit (3), actions (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), sign (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), community (2), status (2), footer (2), report (2), watching (2), watchers (2), custom (2), properties (2), activity (2), 多个版本 (2), 单个版本 (2), thread内核版本 (2), hello1 (2), hello2 (2), subparser (2), nolatest (2), xxx (2), pip (2), requests (2), gcc (2), 不支持 (2), windows (2), jobs (2), push (2), pull_request (2), pages下载旧的测试结果并且与新的合并 (2), schedule (2), workflow_dispatch (2), change (2), specific (2), 使用空格分隔 (2), items (2), gitignore (2), components (2), last (2), message (2), commits (2), menu (2), must (2), star (2), settings (2), insights (2), projects (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), can, perform, that, this, time, not, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, languages, contributors, used, releases, 指定文件路径, pkgs_res_single, 检查自动生成的测试结果, 使用check检查测试结果, 指定软件包, 指定配置文件, 设置bsp, 设置rt, 使用config设置配置文件, 测试多个软件包, 修改配置文件中的, pkg3, pkg2, pkg1, 只测试, 等同于配置文件中的, 部分示例, 软件包开发者, 测试软件包所支持的, 开发者所有软件包测试, 可以对指定软件包集合的所有软件包版本, 首先改动, 例如您要测试, 两个软件包, 字段改为, 之后使用下面的命令, 软件包的所有版本测试, 可以对指定软件包的所有版本, 软件包, 可以在更新软件包代码之后, 自动对, 版本进行所支持的, 软件包版本发布测试, 可以对指定软件包版本, 针对于不同使用用户所使用的的测试命令, 执行测试, 也可以通过, 检查测试结果, 可以通过, 对配置文件进行配置, 也可通过, 指定一个配置文件进行测试, 用户也可更改, 文件中的, 字段来测试其他软件包, 可直接使用, 中的配置文件来进行默认, 软件包的测试, 用户使用, 同时编译的作业数量, 编译内容是否不包含, 测试单独软件包, 加载用户配置文件, 其命令行参数如下所示, install, scons, tqdm, wget, dominate, pygithub, pytz, 用户使用前应使用如下命令安装, 本测试框架使用, 进行编译, 将不会通过测试, 本测试框架暂时只使用在, linux, 电脑上, wsl2, 暂时测试通过, 但不排除有什么隐藏问题, 注意事项, 本地使用, thread_packages_test, 它的workflow文件是这样的, 这里有一个例子, com, 软件包仓库的使用方法比较简单, 不需要输入任何参数, 它的测试过程和本地测试基本上一致, 软件包仓库, errors表示关闭错误检查, 这里是因为主要目的是发布测试结果, 所以用不需要检查是否有软件包没有通过编译测试, pages表示发布测试结果到github, all就是最主要的一个参数, 表示测试全部软件包, res表示的是从github, versions指的就是内核的版本, branch和tag有两种不同的输入方法, bsps指的就是测试的bsp和其使用的工具链, 用冒号进行分隔, 然后解释一下传入的参数, wait, finish, cancel, progress, group, concurrency, 这里注意一下, 测试全部软件包需要一个接着一个按顺序测试, 不能并行进行测试, 不然发布测试结果会产生冲突, workflow文件也用了concurrency这个参数来确保每次只有一个workflow在运行, 让其余的进行等待, 测试全部软件包的触发事件有两个, schedule定时测试和workflow_dispatch手动触发, 这里也是使用if来判断的, needs, 这里我举出两个jobs的例子, 测试master内核版本下两个bsp的软件包编译情况, 定时全部测试, 传入的参数有两个, res用来开启从github, pages用来开启将测试结果发布到github, pagses, 这里使用if进行了判断, 当workflow的触发事件是pull_request或者push的时候, 执行change这个job, 这里是packages仓库的软件包测试workflow文件其中的一个job, 目的是当发生改动的时候测试改动的软件包, 改动测试, 软件包索引仓库里面目前有两个功能, 一个是当发生改动的时候测试改动的软件包, 另外就是定时测试全部的软件包, packages仓库, 目前可以在软件包索引仓库和软件包仓库使用pkgs, test来测试软件包的编译情况, 是否将测试结果发布到githubpages, true是发布, url, 旧测试结果的githubpages地址, 是否从githubpages下载旧的测试结果, 并将新的测试结果与其合并, true为下载并合并, 是否执行check, true为检查, 测试全部的package, true为测试全部, 测试package时是否测试latest版本, false时测试latest版本, 默认值为false, 不指定, 用于测试指定的软件包, 用于对rt, thread内核更新的检查, 通过参数pkgs指定软件包, 默认值是, liteos, sdk, 多行输入可以这样输入, 指定测试的软件包, 使用空格或者换行符分隔, 仅仅test, pkgs为true时可用, toolchain, 指定测试的bsp, 指定测试的rt, actions使用, 测试框架, view, date, folders, history, open, tags, branches, fork, notification, notifications, public, pull, issues, dismiss, alert, switched, accounts, out, appearance, search, pricing, event, talks, workshops, what, next, partners, company, forum, events, webinars, blog, resource, connect, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, improvements, across, one, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, skip, content,
|