File: run-unit-test

package info (click to toggle)
toml11 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,464 kB
  • sloc: cpp: 38,446; makefile: 8; sh: 5
file content (13 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Author: Lance Lin <LQi254@protonmail.com>
# Last-Update: 27 June 2024
# File: run-unit-test
# Purpose: run the built-in unit test framework for toml11

# test build directions from upstream github page
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=11 -DTOML11_BUILD_TOML_TESTS=ON
make
make test