And as a followup - this happens because Bro was not in the path.
This really should give a nicer error message though (or abort before
even trying to install).
On 27 Jan 2017, at 11:34, Johanna Amann wrote:
And - second followup - this time I think I am doing
things right this
On os-x, when trying to install using bro-pkg, I get the following
$ bro-pkg install bro-sumstats-counttable --version master
The following packages will be INSTALLED:
Proceed? [Y/n] y
Running unit tests for "bro/0xxon/bro-sumstats-counttable"
Traceback (most recent call last):
File "/Users/johanna/venv/bin/bro-pkg", line 1635, in <module>
File "/Users/johanna/venv/bin/bro-pkg", line 1631, in main
args.run_cmd(manager, args, config)
File "/Users/johanna/venv/bin/bro-pkg", line 314, in cmd_install
error, passed, test_dir = manager.test(name, version)
line 1622, in test
bropath = os.path.dirname(stage_script_dir) + ':' + bropath
TypeError: coercing to Unicode: need string or buffer, NoneType found
The same happens with your bro-test-package.
Is there anything obvious that I am doing wrong?
On Fri, Jan 27, 2017 at 11:14:18AM -0800, Johanna Amann wrote:
Ah, and if you remember to specify --version
master, things suddenly
much better - ignore this :)
On Fri, Jan 27, 2017 at 11:10:46AM -0800, Johanna Amann wrote:
> Hi Jon,
> On Wed, Jan 25, 2017 at 02:23:57AM +0000, Siwek, Jon wrote:
>> bro-pkg 1.0 is now out and supports
>> * package unit testing 
> thanks for this. Are there any extra steps that one has to do for
> this to
> work? I tried to activate it for my repository at
, where the
> test_command = cd testing && btest -d
> However, bro-pkg (version 1.0) seems to just ignore this:
> $ bro-pkg install bro-sumstats-counttable
> The following packages will be INSTALLED:
> bro/0xxon/bro-sumstats-counttable (0.0.2)
> Proceed? [Y/n] y
> Running unit tests for "bro/0xxon/bro-sumstats-counttable"
> error: failed to run tests for bro/0xxon/bro-sumstats-counttable:
> Package does not specify a test_command
> Proceed to install anyway? [Y/n] n
> Am I doing something wrong here? Or is there a problem with the way
> that I
> specify test_command? (The error message seems to indicate that it
> is just
> not being identified though).
> bro-dev mailing list
bro-dev mailing list