Check/remove testsuite retcode

オープン
#352 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
c
領域
testing

調査の方向性

The payload names no files, tests or entry points, so the first step is to find where the testsuite's return code is defined and used across the in-tree tests. Tally the 1, 0 and -1 values the issue mentions and see which tests depend on them. Done means a maintainer-agreed decision on whether to remove the retcode, followed by a change that keeps the suite passing.

索引モデルが issue の本文から書いたものです。

説明

AFAICT having a retcode in the testsuite is redundant and error-prone. If we have an errno, then the syscall should return -1...

In addition, looking at the instances we have in-tree, we have a retcode of 1, 0 and -1 - something doesn't feel right.

主要言語
C
スター
116
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kmod-project/kmod のほかの issue

kmod-project/kmod の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。