GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tinyobjloader/tests at release · tinyobjloader/tinyobjloader

Expand file tree

/

tests

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

tests

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
assets
assets
 
 
llvm-fuzz
llvm-fuzz
 
 
obj-fuzz
obj-fuzz
 
 
opt
opt
 
 
python
python
 
 
LICENSE.acutest.txt
LICENSE.acutest.txt
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
acutest.h
acutest.h
 
 
config-msvc.py
config-msvc.py
 
 
config-posix.py
config-posix.py
 
 
fuzz_common.h
fuzz_common.h
 
 
issue-177.mtl
issue-177.mtl
 
 
issue-177.obj
issue-177.obj
 
 
kuroga.py
kuroga.py
 
 
tess_tester.c
tess_tester.c
 
 
tester.cc
tester.cc
 
 
tester_c.c
tester_c.c
 
 
tester_c_freestanding.c
tester_c_freestanding.c
 
 
vcbuild.bat
vcbuild.bat
 
 

README.md

Outline

Build&Test

Use makefile

$ make check

make check builds and runs the suite in three configurations:

  • check_default — library defaults: no SIMD, no multithreading, no exceptions.
  • check_features — TINYOBJLOADER_USE_MULTITHREADING, TINYOBJLOADER_USE_SIMD, and TINYOBJLOADER_ENABLE_EXCEPTION all enabled.
  • check_nofastfloat — TINYOBJLOADER_DISABLE_FAST_FLOAT (exercises the hand-written fallback float parser), otherwise defaults.

Run a single configuration with make check_default, make check_features, or make check_nofastfloat.

Additional fuzz targets:

$ make obj-fuzz
$ make llvm-fuzz

Use ninja + kuroga

Assume

  • ninja 1.4+
  • python 2.6+

Are installed.

Linux/MacOSX

$ python kuroga.py config-posix.py
$ ninja

Windows

Visual Studio 2013 is required to build tester.

On Windows console.

> python kuroga.py config-msvc.py
> vcbuild.bat

Or on msys2 bash,

$ python kuroga.py config-msvc.py
$ cmd //c vcbuild.bat
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.