Browse Source

update codecov config; update test cases

master
CismonX 1 year ago
parent
commit
3719a44998
No known key found for this signature in database GPG Key ID: 315D6652268C5007
  1. 2
      codecov.yml
  2. 7
      tests/default/dump.exp

2
codecov.yml

@ -0,0 +1,2 @@
ignore:
- "src/logging.c"

7
tests/default/dump.exp

@ -20,7 +20,7 @@
set tool "default"
set timeout 1
set mnemonics ".text
set expected ".text
00000000: APP s, i
00000001: APP acc, i
00000002: SA 0x0000000e
@ -45,8 +45,9 @@ set mnemonics ".text
# Written by David Madore <david.madore@ens.fr>
set src_code "```sii``si``s`k`d`r`.!`.l`.a`.i`.v`.i`.r`.t`. `.t`.s`.e`.'`.c`. `.,`.a`.d`.b`.m`.a`.l`.n.Ui"
if { [ u6a_dump_mnemonics $src_code ] eq $mnemonics } {
set result [ u6a_dump_mnemonics $src_code ]
if { $result eq $expected } {
pass "ok!"
} else {
fail "fail!"
fail "fail! got: $result"
}

Loading…
Cancel
Save