Explorar el Código

Update 'writing test' slide

Signed-off-by: Florent Jacquet <florent.jacquet@free-electrons.com>
master
Skia hace 3 años
padre
commit
33e8777790
Se han modificado 3 ficheros con 11 adiciones y 7 borrados
  1. +5
    -2
      pix/architecture.svg
  2. BIN
      slides.pdf
  3. +6
    -5
      slides.tex

+ 5
- 2
pix/architecture.svg Ver fichero

@@ -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"

BIN
slides.pdf Ver fichero


+ 6
- 5
slides.tex Ver fichero

@@ -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}}:

Cargando…
Cancelar
Guardar