Bläddra i källkod

Update 'writing test' slide

Signed-off-by: Florent Jacquet <florent.jacquet@free-electrons.com>
master
Skia 2 år sedan
förälder
incheckning
33e8777790
3 ändrade filer med 11 tillägg och 7 borttagningar
  1. +5
    -2
      pix/architecture.svg
  2. Binär
      slides.pdf
  3. +6
    -5
      slides.tex

+ 5
- 2
pix/architecture.svg Visa fil

@@ -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är
slides.pdf Visa fil


+ 6
- 5
slides.tex Visa fil

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

Laddar…
Avbryt
Spara