exe: add trivial test case
This commit is contained in:
parent
5c2952561b
commit
c3e2e1ae44
@ -392,6 +392,7 @@ TEST_BIN = \
|
||||
test/crypto/tea \
|
||||
test/crypto/xtea \
|
||||
test/crypto/xxtea \
|
||||
test/exe \
|
||||
test/extent \
|
||||
test/fixed \
|
||||
test/float \
|
||||
|
12
test/exe.cpp
Normal file
12
test/exe.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#include "./exe.hpp"
|
||||
#include "./tap.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
util::TAP::logger tap;
|
||||
tap.expect_eq (util::image_path ().stem (), "exe", "identify executable path");
|
||||
return tap.status ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user