avocado.core.tree: Add copyright note

Attributing copyright to Jaime Huerta-Cepas <jhcepas@gmail.com>,
author of the original tree node structure, that we drew inspiration
from and used part of the code (tree drawing).

CC: Jaime Huerta-Cepas <jhcepas@gmail.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #164 from avocado-framework/core-tree-copyright-clarify

avocado.core.tree: Add copyright note
avocado: Updates to debian packaging

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
docs: Update avocado get started instructions for Ubuntu

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #166 from avocado-framework/debian-updates

Debian updates
avocado.cli.parser: New way to parsing arguments.

Modify how we parse command line arguments,
by removing the logic that was inside avocado.cli.app into
this new module.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
avocado.plugins: Use avocado.cli.parser and method run().

On Plugin.configure(), remove app_parser and cmd_parser arguments
and now use parse, an instance of avocado.cli.parser.Parser().
The application (old app_parser) is available with parser.application.
The subcommands (old cmd_parser) is available with parser.subcommands.

Now the runner plugins (like sysinfo, datadir, run, etc.)
make use of the standard method run() to execute the logic.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
avocado.plugins.runner: Option --silent exclusive to run.

Remove generic option --silent and turn it to subcommand run.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
self.avocado.plugins.runner: don't need to quote list of tests.

The parser for the subcommand run now accepts one or more
tests ids (paths / aliases) and there isn't a need to quote the list
as a string.

Example:

* Before: avocado 'sleeptest failtest /usr/bin/true'
* Now: avocado sleeptest failtest /usr/bin/true

So it's now possible to run avocado like `avocado run *.py`.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Merge pull request #165 from ruda/argument_parse

avocado.cli.parser: New way to parsing arguments.
avocado.test: Use unique_id to build temporary path.

if job.unique_id is available in test, use this information
to build the temporary path used in attribute workdir.

The template format is $TMP/job-<unique_id>-<random>/.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Merge pull request #167 from ruda/test_temporary_dir

avocado.test: Use job.unique_id to build temporary path.
avocado.docs: Update documentation regarding argument parsing.

Update documentation regarding the last update on argument parsing.
Like option --silent goes to run subcommand and there's no
need to quote for multiples test names.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Merge pull request #170 from ruda/argument_parse_docs

avocado.docs: Update documentation regarding argument parsing.
Makefile: Delete SOURCES directory as well

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.job: Removing unused variable

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.core.tree: Remove unused variables

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins.multiplexer: Fix -c option

Make the multiplexer plugin to properly produce the
environment relative to each variant. Before, we
had an exception when calling option -c.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>