]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Add gdb.testsuite/version-compare.exp
authorTom de Vries <tdevries@suse.de>
Thu, 3 Apr 2025 15:13:12 +0000 (17:13 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 3 Apr 2025 15:13:12 +0000 (17:13 +0200)
commitc6660615d17e89f45ac0c8a4d62e6c285f1c5636
treeda544fefdb3f080141f166cff1ab11d8e4bb1f15
parent1603a80c5cda1f612cda6a32c095ff40d7fca081
[gdb/testsuite] Add gdb.testsuite/version-compare.exp

Add a test-case gdb.testsuite/version-compare.exp that excercises proc
version_compare, and a note to proc version_compare that it considers
v1 < v1.0 instead of v1 == v1.0.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.testsuite/version-compare.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb-utils.exp