From efffaa517968eec9b0bfff21bd0afe1984852a0b Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Sat, 7 Feb 2015 00:00:16 -0300 Subject: [PATCH] examples/tests/gdbtest.py: make test executable/runnable as standalone Signed-off-by: Cleber Rosa --- examples/tests/gdbtest.py | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 examples/tests/gdbtest.py diff --git a/examples/tests/gdbtest.py b/examples/tests/gdbtest.py old mode 100644 new mode 100755 index 8e332678..d0e8d69e --- a/examples/tests/gdbtest.py +++ b/examples/tests/gdbtest.py @@ -5,6 +5,7 @@ import os from avocado import test from avocado import gdb from avocado import runtime +from avocado import job from avocado.utils import process @@ -433,3 +434,6 @@ class GdbTest(test.Test): self.test_server_stdout() self.test_interactive_stdout() self.test_remote() + +if __name__ == '__main__': + job.main() -- GitLab