public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob a48561249eb60475b41c2a12370484e390e5ce26 349 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#! /usr/bin/env avocado-runner-avocado-classless

"""
Example avocado-classless style tests.  Note that some of these
are expected to fail.

"""

import sys

from avocado_classless.test import test


@test
def trivial_pass():
    print("Passes, trivially")


@test
def trivial_fail():
    print("Fails, trivially", file=sys.stderr)
    assert False

debug log:

solving a4856124 ...
found a4856124 in https://archives.passt.top/passt-dev/20230627025429.2209702-7-david@gibson.dropbear.id.au/
found 3895ee81 in https://archives.passt.top/passt-dev/20230627025429.2209702-5-david@gibson.dropbear.id.au/

applying [1/2] https://archives.passt.top/passt-dev/20230627025429.2209702-5-david@gibson.dropbear.id.au/
diff --git a/test/avocado_classless/examples.py b/test/avocado_classless/examples.py
new file mode 100644
index 00000000..3895ee81


applying [2/2] https://archives.passt.top/passt-dev/20230627025429.2209702-7-david@gibson.dropbear.id.au/
diff --git a/test/avocado_classless/examples.py b/test/avocado_classless/examples.py
index 3895ee81..a4856124 100644

Checking patch test/avocado_classless/examples.py...
Applied patch test/avocado_classless/examples.py cleanly.
Checking patch test/avocado_classless/examples.py...
Applied patch test/avocado_classless/examples.py cleanly.

index at:
100644 a48561249eb60475b41c2a12370484e390e5ce26	test/avocado_classless/examples.py

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).