Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4464aa5

Browse files
committed
Use acutest for faster compilation.
1 parent 524cf0f commit 4464aa5

File tree

7 files changed

+1887
-10685
lines changed

7 files changed

+1887
-10685
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
newmtl default
2+
Ka 0 0 0
3+
Kd 0 0 0
4+
Ks 0 0 0
5+
Kt 0.1 0.2 0.3
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mtllib leading-zero-in-exponent-notation-issue-210.mtl
2+
o Test
3+
v .8e-001 -.7e+02 -5.532511
4+
v .575869 -.666304 5.896140
5+
v .940448 1.000000 -1.971128
6+
usemtl default
7+
f 1 2 3

tests/LICENSE.acutest.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# The MIT License (MIT)
3+
4+
Copyright © 2013-2017 Martin Mitáš
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a
7+
copy of this software and associated documentation files (the “Software”),
8+
to deal in the Software without restriction, including without limitation
9+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
10+
and/or sell copies of the Software, and to permit persons to whom the
11+
Software is furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included
14+
in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
17+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22+
IN THE SOFTWARE.

tests/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.PHONY: clean
22

3-
CXX ?= g++
4-
CXXFLAGS ?= -g -O2
3+
CXX = clang++
4+
CXXFLAGS ?= -g -O1
55

66
tester: tester.cc ../tiny_obj_loader.h
7-
$(CXX) $(CXXFLAGS) -fsanitize=address -o tester tester.cc
7+
$(CXX) $(CXXFLAGS) -std=c++11 -fsanitize=address -o tester tester.cc
88

99
all: tester
1010

0 commit comments

Comments
 (0)