Skip to content

Instantly share code, notes, and snippets.

# Get the latest commit hash of the working branch
execute_process(
COMMAND git log -1 --format="%H %s"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
@volviq
volviq / config.log
Created May 22, 2017 13:19
config for: gperftools 2.5.92 fail heap-checker_unittest on SLES 11
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gperftools configure 2.5.92, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
@volviq
volviq / test-suite.log
Last active May 22, 2017 13:20
gperftools 2.5.92 fail heap-checker_unittest on SLES 11
=========================================
gperftools 2.5.92: ./test-suite.log
=========================================
# TOTAL: 48
# PASS: 44
# SKIP: 0
# XFAIL: 0
# FAIL: 4
# XPASS: 0
@volviq
volviq / gist:d0b281dddde5685fb37812a5294a10c8
Created May 22, 2017 09:55
gperftools 2.5.91 build error - invocation
testuser@nshield-lin64-1:~/testuser_test/gperftools-2.5.91> make check
rm -f debugallocation_test.sh
cp -p ./src/tests/debugallocation_test.sh debugallocation_test.sh
rm -f tcmalloc_unittest.sh
cp -p ./src/tests/tcmalloc_unittest.sh tcmalloc_unittest.sh
rm -f sampling_test.sh
cp -p ./src/tests/sampling_test.sh sampling_test.sh
rm -f heap-profiler_unittest.sh
cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_unittest.sh
@volviq
volviq / gist:7f097bcbb349f17cc188ed0d407908e3
Created May 22, 2017 09:54
gperftools test suite heap-checker_unittest.sh failure
=========================================
gperftools 2.5.91: ./test-suite.log
=========================================
# TOTAL: 48
# PASS: 44
# SKIP: 0
# XFAIL: 0
# FAIL: 4
# XPASS: 0