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).
And - second followup - this time I think I am doing things right this
time.
On os-x, when trying to install using bro-pkg, I get the following output:
$ bro-pkg install bro-sumstats-counttable --version master
The following packages will be INSTALLED:
bro/0xxon/bro-sumstats-counttable (master)
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>
main()
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)
File "/Users/johanna/venv/lib/python2.7/site-packages/bropkg/manager.py", line 1622, in test
bropath = os.path.dirname(stage_script_dir) + ':' + bropath
TypeError: coercing to Unicode: need string or buffer, NoneType found
And another small thing: As build_command and test_command may contain
anything, another warning would be good in case the package metadata
specifies a command.