Am Fri, Jul 23, 2021 at 08:14:01PM -0500 schrieb Daniel Swanson: > At the beginning of last week, 47 languages and pairs had a meaningful > 'make test', and several of those were failing. As of today, 365 repos > have 'make test' and virtually all are passing.
That's exciting, here's some first test run minor suggestions:
* make test after git pull failed with "apertium-regtest: command not
found", which is ok for devs but could be improved with having regtest
stuff test in AM_CONDITIONALS possibly with informative message
* apertium-regtest has no ./autogen.sh, people have gotten used to that
so even just having autoreconf -fvi in it is a good idea
Running teh actual tests in apertium-fin-nor I get:
make test
Making all in docs
make[1]: Verzeichnis „/home/flammie/github/apertium/apertium-fin-nor/docs“ wird
betreten
make[1]: Für das Ziel „all“ ist nichts zu tun.
make[1]: Verzeichnis „/home/flammie/github/apertium/apertium-fin-nor/docs“ wird
verlassen
make[1]: Verzeichnis „/home/flammie/github/apertium/apertium-fin-nor“ wird
betreten
apertium-validate-modes modes.xml
apertium-gen-modes modes.xml
make[1]: Verzeichnis „/home/flammie/github/apertium/apertium-fin-nor“ wird
verlassen
apertium-regtest test
Corpus 1 of 4: fin-nob
Traceback (most recent call last):
File "/usr/local/bin/apertium-regtest", line 1041, in <module>
if not static_test(args.ignore_add):
File "/usr/local/bin/apertium-regtest", line 950, in static_test
corp.load()
File "/usr/local/bin/apertium-regtest", line 378, in load
outdata = load_output(self.out_name(c))
File "/usr/local/bin/apertium-regtest", line 79, in load_output
l = int(l[1:])
TypeError: 'int' object is not subscriptable
make: *** [Makefile:1132: test] Fehler 1
perhaps this is different version of pyhthon or libraries? I have
python 3.9.1 on linux.
--
Regards, Flammie <https://flammie.github.io>
(Please note, that I will often include my replies inline instead of
top or bottom of the mail)
signature.asc
Description: PGP signature
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
