UPSTREAM: tests/spi25.c: Add unit-test coverage of spi95.c

Add spi95.c unit-tests to spi25.c to avoid some clutter.

BUG=b:157280555
BRANCH=none
TEST=builds

Original-Change-Id: I6de59451b82131b58114b268ff6dd0b18cd5952b
Original-Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/41656
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
(cherry picked from commit 76d2445d39592834ffd7ee70a0e2ce8e12ee45a3)

Cq-Depend: chromium:2879373
Change-Id: I4a29cd21b596587f8411d7ee299ef49d5b3c4f14
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2879378
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
3 files changed
tree: abb77103e9e5be716ef9d81c74fa47c42c478fce
  1. Documentation/
  2. subprojects/
  3. tests/
  4. util/
  5. .gitattributes
  6. .gitignore
  7. 82802ab.c
  8. action_descriptor.c
  9. action_descriptor.h
  10. amd_imc.c
  11. archtest.c
  12. at45db.c
  13. atahpt.c
  14. atapromise.c
  15. atavia.c
  16. big_lock.c
  17. big_lock.h
  18. bitbang_spi.c
  19. board_enable.c
  20. buspirate_spi.c
  21. cbtable.c
  22. ch341a_spi.c
  23. chipdrivers.h
  24. chipset_enable.c
  25. cli_classic.c
  26. cli_common.c
  27. cli_output.c
  28. COPYING
  29. coreboot_tables.h
  30. cros_alias.c
  31. cros_ec.c
  32. cros_ec.h
  33. cros_ec_commands.h
  34. cros_ec_dev.c
  35. custom_baud.c
  36. custom_baud.h
  37. dediprog.c
  38. developerbox_spi.c
  39. digilent_spi.c
  40. dmi.c
  41. drkaiser.c
  42. dummyflasher.c
  43. edi.c
  44. edi.h
  45. en29lv640b.c
  46. endiantest.c
  47. ene.h
  48. ene_lpc.c
  49. file.c
  50. file.h
  51. file_lock.c
  52. flash.h
  53. flashchips.c
  54. flashchips.h
  55. flashrom.8.tmpl
  56. flashrom.c
  57. fmap.c
  58. fmap.h
  59. ft2232_spi.c
  60. gfxnvidia.c
  61. helpers.c
  62. hwaccess.c
  63. hwaccess.h
  64. hwaccess_x86_io.h
  65. i2c_helper.h
  66. i2c_helper_linux.c
  67. ich_descriptors.c
  68. ich_descriptors.h
  69. ichspi.c
  70. internal.c
  71. ipc_lock.h
  72. it8212.c
  73. it85spi.c
  74. it87spi.c
  75. jedec.c
  76. jlink_spi.c
  77. layout.c
  78. layout.h
  79. libflashrom.c
  80. libflashrom.h
  81. libflashrom.map
  82. linux_mtd.c
  83. linux_spi.c
  84. lspcon_i2c_spi.c
  85. Makefile
  86. mcp6x_spi.c
  87. mec1308.c
  88. meson.build
  89. meson_options.txt
  90. mstarddc_spi.c
  91. ni845x_spi.c
  92. nic3com.c
  93. nicintel.c
  94. nicintel_eeprom.c
  95. nicintel_spi.c
  96. nicnatsemi.c
  97. nicrealtek.c
  98. ogp_spi.c
  99. opaque.c
  100. os.h
  101. OWNERS
  102. pcidev.c
  103. physmap.c
  104. pickit2_spi.c
  105. platform.h
  106. pony_spi.c
  107. power.c
  108. power.h
  109. PRESUBMIT.cfg
  110. print.c
  111. print_wiki.c
  112. processor_enable.c
  113. programmer.c
  114. programmer.h
  115. raiden_debug_spi.c
  116. rayer_spi.c
  117. README
  118. README.chromiumos
  119. realtek_mst_i2c_spi.c
  120. s25f.c
  121. satamv.c
  122. satasii.c
  123. sb600spi.c
  124. serial.c
  125. serprog.c
  126. serprog.h
  127. sfdp.c
  128. spi.c
  129. spi.h
  130. spi25.c
  131. spi25_statusreg.c
  132. spi95.c
  133. sst28sf040.c
  134. sst49lfxxxc.c
  135. sst_fwhub.c
  136. stlinkv3_spi.c
  137. stm50.c
  138. udelay.c
  139. usb_device.c
  140. usb_device.h
  141. usbblaster_spi.c
  142. usbdev.c
  143. w29ee011.c
  144. w39.c
  145. wbsio_spi.c
  146. writeprotect.c
  147. writeprotect.h