diff --git a/platforms/test/.gitignore b/platforms/test/.gitignore new file mode 100644 index 0000000..d51dda6 --- /dev/null +++ b/platforms/test/.gitignore @@ -0,0 +1,3 @@ +gtest_i386/ +googletest/**/generated/ + diff --git a/platforms/test/.gitrepo b/platforms/test/.gitrepo new file mode 100644 index 0000000..0c896dd --- /dev/null +++ b/platforms/test/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = git@10.183.3.92:mississippi/mississippi-mcu-platform-x86_gtest.git + branch = master + commit = 71472440d8296fe81d0891a972d6677288c64590 + parent = 24552e91a4f68cd15d944c09c2a7a8d7d7e2183c + method = merge + cmdver = 0.4.0 diff --git a/platforms/test/build-googletest.sh b/platforms/test/build-googletest.sh new file mode 100755 index 0000000..86f54a0 --- /dev/null +++ b/platforms/test/build-googletest.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -x +SCRIPTDIR=$(dirname "$0") +OUTDIR="$1" +cd "$SCRIPTDIR"/googletest +cmake -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_INSTALL_PREFIX:PATH="../$OUTDIR" . +make -j8 && make install +rm install_manifest.txt +