util: Add fastmodel in valid tag list
authorChun-Chen TK Hsu <chunchenhsu@google.com>
Mon, 30 Dec 2019 08:32:49 +0000 (16:32 +0800)
committerJason Lowe-Power <jason@lowepower.com>
Thu, 16 Jan 2020 16:53:24 +0000 (16:53 +0000)
The "fastmodel" tag has been used since 2019-08-22 so it should be an
valid tag in commit header.

Change-Id: I0032deaabc94e5896851da9afc28e1b1a699fed3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23923
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/git-commit-msg.py

index 74c8f014a6bae27b225f57e24ef0201592f8c316..1ce8aa1716e8c376232cde4aca4913e73bb24a25 100755 (executable)
@@ -81,12 +81,13 @@ def _validateTags(commit_header):
     # List of valid tags
     # @todo this is error prone, and should be extracted automatically from
     #       a file
+
     valid_tags = ["arch", "arch-alpha", "arch-arm", "arch-hsail", "arch-mips",
         "arch-power", "arch-riscv", "arch-sparc", "arch-x86", "base",
         "configs", "cpu", "cpu-kvm", "cpu-minor", "cpu-o3", "cpu-simple",
-        "dev", "dev-arm", "dev-virtio", "ext", "gpu-compute", "learning-gem5",
-        "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc", "python",
-        "scons", "sim", "sim-se", "sim-power", "stats", "system",
+        "dev", "dev-arm", "dev-virtio", "ext", "fastmodel", "gpu-compute",
+        "learning-gem5", "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc",
+        "python", "scons", "sim", "sim-se", "sim-power", "stats", "system",
         "system-alpha", "system-arm", "systemc", "tests", "util", "RFC", "WIP"]
 
     tags = ''.join(commit_header.split(':')[0].split()).split(',')