History log of /openbmc/hiomapd/test/ (Results 101 – 125 of 132)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
90b92fe405-May-2017 Ratan Gupta <ratagupt@in.ibm.com>

Make the code compatible with c++ compiler

if we write "int i;" in header file, c compiler treats
as a tentative definition while c++ compiler
treats as a definition.
so when two cpp file includes t

Make the code compatible with c++ compiler

if we write "int i;" in header file, c compiler treats
as a tentative definition while c++ compiler
treats as a definition.
so when two cpp file includes the same header file
then during linking time compiler says that there are
multiple definitions.

so to overcome this problem we are declaring it as extern
and defining it in the corresponding c file.

Change-Id: I91378c4c587414edf35f8313f2497268be36e2f4
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...

6f3197df03-May-2017 Suraj Jitindar Singh <sjitindarsingh@gmail.com>

test: Set mbox_vlog in tests so we don't segfault

mbox_vlog contains the function pointer for the logging function called in
MSG_<ERR/INFO/DEBUG>. Currently we don't set it in the
<write/copy/erase>

test: Set mbox_vlog in tests so we don't segfault

mbox_vlog contains the function pointer for the logging function called in
MSG_<ERR/INFO/DEBUG>. Currently we don't set it in the
<write/copy/erase>_flash tests meaning if there is any test output that we
try to dereference a null pointer and thus segfault.

Set it in these tests so that we can get test output which can be useful
for debugging and most importantly so that we don't segfault which is
annoying...

Change-Id: If91725ded0ee5d6c3ab0a8925126065ec43b0cc3
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>

show more ...

29b3e8a001-May-2017 Suraj Jitindar Singh <sjitindarsingh@gmail.com>

tests: Add test for timeout argument in GET_MBOX_INFO

Add a test to check the value returned in the suggested timeout
field in the response of GET_MBOX_INFO for a window size >= 1MB.

It is worth no

tests: Add test for timeout argument in GET_MBOX_INFO

Add a test to check the value returned in the suggested timeout
field in the response of GET_MBOX_INFO for a window size >= 1MB.

It is worth noting that existing test cases will continue to pass
since a window size < 1MB will have zero for the suggested timeout
which is what is expected in this field for all existing tests.

Change-Id: I4fb4903817b63a8c201af4142d429b7b21881848
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>

show more ...

cbbc13c324-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add sequence_numbers

Change-Id: Ida6123bf27445f0fb65099fbf6d9520344d33f10
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

b34cc54213-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add read_window_cycle

Change-Id: Iaa967b7e0732ebc0322ea89e74861a5bedb34867
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

9d4b888313-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add invalid_command

Change-Id: I42bc056e5c6b6fdd078bc622e40db39583b53c64
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

4edb58c513-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add write_window_dirty_erase

Change-Id: I16d2488e75dde619da39d755e00666bc24778217
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

aed3a5ff13-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add read_window_mark_write_erased

Change-Id: I40e3e29e8064f7ec156cdfd579071563d1cc35c3
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

acdb4b3a12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add read_window_write_flush

Change-Id: I17b237f66e57a40df136d47e2e963eae4c3de535
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

ea469b0612-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add mark_read_dirty

Change-Id: I7ab43db7d69b0f085574b40701d48dfa99f00856
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

bcacb4e612-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add request_low_version

Change-Id: Ia2ce45977b2735663e9745e1da72378df5819a01
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

4510a19512-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add request_high_version

The test identified a flaw in the implementation and lack of clarity in
the documentation when compared with Ben's intent and what was discussed
with AMI.

Change-Id:

test: Add request_high_version

The test identified a flaw in the implementation and lack of clarity in
the documentation when compared with Ben's intent and what was discussed
with AMI.

Change-Id: I1722b1cc8b005cef77fc48f6583ca0e2553ed2f1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...

d4a5fc8b12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add implicit_flush

Change-Id: Ib64fe711e7e7922ad90cb8e9a84972df4cbc5b2d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

efc6ada112-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add create_zero_size_window

Change-Id: I59f3c1e92b519d4f52b6d4fe031d425f161e4dd3
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

5f374bce12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add create_oversize_window

Change-Id: I944046be71b6973e8bd1760678fcfaea39d7bc12
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

1770ce8912-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add bmc_event_ack_v2

Change-Id: Id6966ce54ddfdc2c2ec3933c0dde12451223a61c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

c5da148912-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add mark_write_erased_v2

Change-Id: I74f98b63f9971b53a90b4cc8e81ebeddaec1431d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

1a03647e12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add write_flush_v2

Change-Id: I567be3c016f6d96bb5e7b36342e162dfdff2f836
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

4397af9412-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add mark_write_dirty_v2

Change-Id: I9a6fe86eff739c8bf377e7a700e79e8d28b90361
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

d8f24efd12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add close_window_v2

Change-Id: I2ca90440333f1b06c408884f59af22ab0f9c596d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

ccaec50012-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add create_write_window_v2

Change-Id: I26992306b7de4ece0b14b51a4a9c443ef47ce302
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

3e3cf28e12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add create_read_window_v2

Change-Id: I2b1295faea3df207cce5430653b4e0a78176e13c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

182d4fef12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add get_flash_info_v2

Change-Id: I55916bb3b8538701b0f54f9ce259b1ac4715941c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

16be9f6c12-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add reset_state

Change-Id: Ia18a5e7c472d8fe55fb90a13be21f731e407e6e9
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

c1e7db3412-Apr-2017 Andrew Jeffery <andrew@aj.id.au>

test: Add get_mbox_info_v2

Change-Id: Ibd4d9c7880bc427edcecafcc2e9abeb487620fdb
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

123456