Add license compatibility check in --create-testdir.