loader: Fix CTS failures in simulate_oom tests.
authorMark Young <marky@lunarg.com>
Fri, 19 Aug 2016 21:25:08 +0000 (15:25 -0600)
committerMark Young <marky@lunarg.com>
Fri, 19 Aug 2016 21:35:41 +0000 (15:35 -0600)
commit6823cbc749c03381b1ff8af6ff9f467aed78e540
tree2d3840b4c717a2332b281b1bbc9597ee1e33ab6c
parente92bae037ca144ba8afb959f9adc69efedfcb699
loader: Fix CTS failures in simulate_oom tests.

The simulate_oom tests continue the trend of testing what happens
when the user-provided allocators fail.  It validates two things:
1) That the loader returns the proper error message when this
occurs.
2) That the loader cleans up any allocated items prior to
returning.

Change-Id: Ic80ff4345e1f3524d5e11ce787b10c391a37d760
loader/loader.c
loader/loader.h
loader/trampoline.c