Linux에 자동 테스트를 설치하는 방법은 무엇입니까?

Linux에 자동 테스트를 설치하는 방법은 무엇입니까?

여기에 있는 자동 테스트 소프트웨어 제품군을 보고 있습니다.

https://github.com/autotest/autotest

여기 문서의 지침을 따릅니다.

http://autotest.readthedocs.org/en/latest/main/local/ClientQuickStart.html

하지만 문서에 제안된 대로 client/autotest-local --verbose run sleeptest 명령을 사용하면 다음 오류가 발생합니다.

18:39:05 ERROR| Can not find test sleeptest/control

따라서 소프트웨어의 일부가 누락되었거나 올바르게 설치되지 않은 것으로 추측되지만 지침을 따랐습니다. 여기서 분명한 것을 놓치고 있습니까?

답변1

.NET에서 해당 테스트가 누락되었기 때문일 수 있습니다 client/tests/sleeptest.

옵션으로 저장소를 복제하셨나요 --recursive?

git clone --recursive git://github.com/autotest/autotest.git
cd autotest
client/autotest-local --verbose run sleeptest

그러면 모든 프로젝트 하위 모듈이 초기화됩니다.

매뉴얼 페이지

또는 :git clone --helpman git-clone

--recursive, --recurse-submodules
    After the clone is created, initialize all submodules within, using
    their default settings. This is equivalent to running git submodule
    update --init --recursive immediately after the clone is finished.
    This option is ignored if the cloned repository does not have a
    worktree/checkout (i.e. if any of --no-checkout/-n, --bare, or
    --mirror is given)

관련 정보