chiark / gitweb /
utils/t/bits-testgen.py: Set the `SEED' from the command-line correctly.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 4 Oct 2019 17:27:28 +0000 (18:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 8 Oct 2019 10:27:36 +0000 (11:27 +0100)
commit29922fc0d0f64d23d1d64bc35510a824dc9266af
tree18aba35f2b74032c0399059ca822e1fd72110dbe
parente243edbc2f15529b459132de590cd5684f446968
utils/t/bits-testgen.py: Set the `SEED' from the command-line correctly.

This never stood a chance before, because `arg' always returned the
script path.  Now that's fixed, instead `int' complains that the hex
number it's being given isn't acceptable.  I can't fix this by
explicitly passing a radix of 0 because that doesn't allow an existing
integer object.  So we have this circumlocution.
utils/t/bits-testgen.py