瀏覽代碼

Update 'writing test' slide

Signed-off-by: Florent Jacquet <florent.jacquet@free-electrons.com>
master
Skia 3 年之前
父節點
當前提交
33e8777790
共有 3 個檔案被更改,包括 11 行新增7 行删除
  1. +5
    -2
      pix/architecture.svg
  2. 二進制
      slides.pdf
  3. +6
    -5
      slides.tex

+ 5
- 2
pix/architecture.svg 查看文件

@@ -15,7 +15,10 @@
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="architecture.svg">
sodipodi:docname="architecture.svg"
inkscape:export-filename="/home/skia/workspace/presentations/custom_tests/pix/architecture.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<marker
@@ -120,7 +123,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="293.32153"
inkscape:cx="272.10833"
inkscape:cy="266.38205"
inkscape:document-units="px"
inkscape:current-layer="layer1"

二進制
slides.pdf 查看文件


+ 6
- 5
slides.tex 查看文件

@@ -205,12 +205,13 @@ run:
\begin{frame}[fragile]{How to write tests?}
\begin{itemize}
\item Tests are in the \verb$test_suite$ repo.
\item First write your YAML file, it's easy, and it's done once and
for all \footnote{See example in \ref{test_suite_yaml_example}}.
\item Then write your test script: this may take much longer, since it's
the actual work to do on the device.
\item You basically just need to write your script in the \verb$scripts$
folder.
\item Don't forget to give it the \verb$.sh$ extension, and for
multinode jobs, they must follow this naming convention:
\verb$testname-laptop.sh$ and \verb$testname-board.sh$.
\item Writing a single test is easy, but it's more complicated to write
MultiNode jobs since you need to synchronize.
MultiNode jobs since you need to synchronize them.
\item In MultiNode, you have access to helper commands
\footnote{Full reference:
\url{https://validation.linaro.org/static/docs/v2/multinodeapi.html}}:

Loading…
取消
儲存