Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed old code made redundant by tests

  • Loading branch information...
commit c36f5e1c477c9af51080e9fbaf6bd6e55eb0c47c 1 parent 192e514
Marius Kintel kintel authored
9 test-code/batch-cgal-tests.sh
View
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-cmd="./cgaltest"
-
-for f in ../testdata/scad/*-tests.scad; do
- echo == `basename $f .scad` ==
- "$cmd" "$f"
-done
-
14 test-code/batch-cgal.sh
View
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-cmd="./cgaltest"
-
-if [ $# == 0 ]; then
- dir=../testdata/scad
-else
- dir=$1
-fi
-
-for f in $dir/*.scad; do
- echo == `basename $f` ==
- "$cmd" "$f"
-done
16 test-code/batch-dump.sh
View
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-cmd="./dumptest"
-
-if [ $# == 0 ]; then
- dir=../testdata/scad
-else
- dir=$1
-fi
-
-echo $dir;
-
-for f in $dir/*.scad; do
- echo `basename $f`
- "$cmd" "$f"
-done
107 test-code/cgaltest.pro
View
@@ -1,107 +0,0 @@
-DEFINES += OPENSCAD_VERSION=test
-TEMPLATE = app
-
-OBJECTS_DIR = cgal-objects
-MOC_DIR = cgal-objects
-UI_DIR = cgal-objects
-RCC_DIR = cgal-objects
-INCLUDEPATH += ../src
-
-macx {
- macx {
- DEPLOYDIR = $$(MACOSX_DEPLOY_DIR)
- !isEmpty(DEPLOYDIR) {
- INCLUDEPATH += $$DEPLOYDIR/include
- LIBS += -L$$DEPLOYDIR/lib
- }
- }
- CONFIG -= app_bundle
- LIBS += -framework Carbon
-}
-
-CONFIG += qt
-QT += opengl
-CONFIG += cgal
-
-include(../cgal.pri)
-include(../eigen2.pri)
-
-LEXSOURCES += ../src/lexer.l
-YACCSOURCES += ../src/parser.y
-
-HEADERS += ../src/builtin.h \
- ../src/cgal.h \
- ../src/context.h \
- ../src/csgterm.h \
- ../src/dxfdata.h \
- ../src/dxfdim.h \
- ../src/dxftess.h \
- ../src/export.h \
- ../src/expression.h \
- ../src/function.h \
- ../src/grid.h \
- ../src/module.h \
- ../src/node.h \
- ../src/dxflinextrudenode.h \
- ../src/dxfrotextrudenode.h \
- ../src/projectionnode.h \
- ../src/importnode.h \
- ../src/csgnode.h \
- ../src/transformnode.h \
- ../src/rendernode.h \
- ../src/openscad.h \
- ../src/polyset.h \
- ../src/printutils.h \
- ../src/value.h \
- ../src/progress.h \
- ../src/traverser.h \
- ../src/csgnode.h \
- ../src/visitor.h \
- ../src/nodedumper.h \
- ../src/CGALRenderer.h \
- ../src/nodecache.h \
- ../src/importnode.h \
- ../src/state.h \
- ../src/PolySetRenderer.h \
- ../src/PolySetCGALRenderer.h \
- ../src/myqhash.h \
- ../src/Tree.h
-
-SOURCES += cgaltest.cc \
- ../src/export.cc \
- ../src/value.cc \
- ../src/expr.cc \
- ../src/func.cc \
- ../src/module.cc \
- ../src/node.cc \
- ../src/context.cc \
- ../src/csgterm.cc \
- ../src/polyset.cc \
- ../src/csgops.cc \
- ../src/transform.cc \
- ../src/primitives.cc \
- ../src/projection.cc \
- ../src/cgaladv.cc \
- ../src/cgaladv_minkowski2.cc \
- ../src/cgaladv_minkowski3.cc \
- ../src/surface.cc \
- ../src/control.cc \
- ../src/render.cc \
- ../src/import.cc \
- ../src/dxfdata.cc \
- ../src/nef2dxf.cc \
- ../src/dxftess.cc \
- ../src/dxftess-glu.cc \
- ../src/dxftess-cgal.cc \
- ../src/dxfdim.cc \
- ../src/dxflinextrude.cc \
- ../src/dxfrotextrude.cc \
- ../src/printutils.cc \
- ../src/progress.cc \
- ../src/nodedumper.cc \
- ../src/CGALRenderer.cc \
- ../src/traverser.cc \
- ../src/PolySetRenderer.cc \
- ../src/PolySetCGALRenderer.cc \
- ../src/qhash.cc \
- ../src/Tree.cc
105 test-code/csgtermtest.pro
View
@@ -1,105 +0,0 @@
-DEFINES += OPENSCAD_VERSION=test
-TEMPLATE = app
-
-OBJECTS_DIR = objects
-MOC_DIR = objects
-UI_DIR = objects
-RCC_DIR = objects
-INCLUDEPATH += ../src
-
-macx {
- CONFIG -= app_bundle
- LIBS += -framework Carbon
-}
-
-CONFIG += qt
-QT += opengl
-
-# Optionally specify location of Eigen2 using the
-# EIGEN2DIR env. variable
-EIGEN2_DIR = $$(EIGEN2DIR)
-!isEmpty(EIGEN2_DIR) {
- INCLUDEPATH += $$EIGEN2_DIR
-}
-else {
- macx {
- INCLUDEPATH += /opt/local/include/eigen2
- }
- else {
- INCLUDEPATH += /usr/include/eigen2
- }
-}
-
-LEXSOURCES += ../src/lexer.l
-YACCSOURCES += ../src/parser.y
-
-HEADERS += ../src/builtin.h \
- ../src/context.h \
- ../src/csgterm.h \
- ../src/dxfdata.h \
- ../src/dxfdim.h \
- ../src/dxftess.h \
- ../src/export.h \
- ../src/expression.h \
- ../src/function.h \
- ../src/grid.h \
- ../src/module.h \
- ../src/node.h \
- ../src/dxflinextrudenode.h \
- ../src/dxfrotextrudenode.h \
- ../src/projectionnode.h \
- ../src/importnode.h \
- ../src/csgnode.h \
- ../src/transformnode.h \
- ../src/rendernode.h \
- ../src/openscad.h \
- ../src/polyset.h \
- ../src/printutils.h \
- ../src/value.h \
- ../src/progress.h \
- ../src/traverser.h \
- ../src/csgnode.h \
- ../src/visitor.h \
- ../src/nodedumper.h \
- ../src/nodecache.h \
- ../src/importnode.h \
- ../src/state.h \
- ../src/PolySetRenderer.h \
- ../src/Tree.h \
- ../src/myqhash.h \
- ../src/CSGTermRenderer.h
-
-SOURCES += csgtermtest.cc \
- ../src/export.cc \
- ../src/value.cc \
- ../src/expr.cc \
- ../src/func.cc \
- ../src/module.cc \
- ../src/node.cc \
- ../src/context.cc \
- ../src/csgterm.cc \
- ../src/polyset.cc \
- ../src/csgops.cc \
- ../src/transform.cc \
- ../src/primitives.cc \
- ../src/projection.cc \
- ../src/cgaladv.cc \
- ../src/surface.cc \
- ../src/control.cc \
- ../src/render.cc \
- ../src/import.cc \
- ../src/dxfdata.cc \
- ../src/dxftess.cc \
- ../src/dxftess-glu.cc \
- ../src/dxftess-cgal.cc \
- ../src/dxfdim.cc \
- ../src/dxflinextrude.cc \
- ../src/dxfrotextrude.cc \
- ../src/printutils.cc \
- ../src/progress.cc \
- ../src/nodedumper.cc \
- ../src/traverser.cc \
- ../src/PolySetRenderer.cc \
- ../src/Tree.cc \
- ../src/qhash.cc \
- ../src/CSGTermRenderer.cc
107 test-code/csgtexttest.pro
View
@@ -1,107 +0,0 @@
-DEFINES += OPENSCAD_VERSION=test
-TEMPLATE = app
-
-OBJECTS_DIR = objects
-MOC_DIR = objects
-UI_DIR = objects
-RCC_DIR = objects
-INCLUDEPATH += ../src
-
-macx {
- CONFIG -= app_bundle
- LIBS += -framework Carbon
-}
-
-CONFIG += qt
-QT += opengl
-
-# Optionally specify location of Eigen2 using the
-# EIGEN2DIR env. variable
-EIGEN2_DIR = $$(EIGEN2DIR)
-!isEmpty(EIGEN2_DIR) {
- INCLUDEPATH += $$EIGEN2_DIR
-}
-else {
- macx {
- INCLUDEPATH += /opt/local/include/eigen2
- }
- else {
- INCLUDEPATH += /usr/include/eigen2
- }
-}
-
-LEXSOURCES += ../src/lexer.l
-YACCSOURCES += ../src/parser.y
-
-HEADERS += ../src/builtin.h \
- ../src/context.h \
- ../src/csgterm.h \
- ../src/dxfdata.h \
- ../src/dxfdim.h \
- ../src/dxftess.h \
- ../src/export.h \
- ../src/expression.h \
- ../src/function.h \
- ../src/grid.h \
- ../src/module.h \
- ../src/node.h \
- ../src/dxflinextrudenode.h \
- ../src/dxfrotextrudenode.h \
- ../src/projectionnode.h \
- ../src/importnode.h \
- ../src/csgnode.h \
- ../src/transformnode.h \
- ../src/rendernode.h \
- ../src/openscad.h \
- ../src/polyset.h \
- ../src/printutils.h \
- ../src/value.h \
- ../src/progress.h \
- ../src/traverser.h \
- ../src/csgnode.h \
- ../src/visitor.h \
- ../src/nodedumper.h \
- ../src/nodecache.h \
- ../src/importnode.h \
- ../src/state.h \
- ../src/PolySetRenderer.h \
- ../src/Tree.h \
- ../src/myqhash.h \
- CSGTextRenderer.h \
- CSGTextCache.h
-
-SOURCES += csgtexttest.cc \
- ../src/export.cc \
- ../src/value.cc \
- ../src/expr.cc \
- ../src/func.cc \
- ../src/module.cc \
- ../src/node.cc \
- ../src/context.cc \
- ../src/csgterm.cc \
- ../src/polyset.cc \
- ../src/csgops.cc \
- ../src/transform.cc \
- ../src/primitives.cc \
- ../src/projection.cc \
- ../src/cgaladv.cc \
- ../src/surface.cc \
- ../src/control.cc \
- ../src/render.cc \
- ../src/import.cc \
- ../src/dxfdata.cc \
- ../src/dxftess.cc \
- ../src/dxftess-glu.cc \
- ../src/dxftess-cgal.cc \
- ../src/dxfdim.cc \
- ../src/dxflinextrude.cc \
- ../src/dxfrotextrude.cc \
- ../src/printutils.cc \
- ../src/progress.cc \
- ../src/nodedumper.cc \
- ../src/traverser.cc \
- ../src/PolySetRenderer.cc \
- ../src/Tree.cc \
- ../src/qhash.cc \
- CSGTextRenderer.cc \
- CSGTextCache.cc
102 test-code/dumptest.pro
View
@@ -1,102 +0,0 @@
-DEFINES += OPENSCAD_VERSION=test
-TEMPLATE = app
-
-OBJECTS_DIR = objects
-MOC_DIR = objects
-UI_DIR = objects
-RCC_DIR = objects
-INCLUDEPATH += ../src
-
-TARGET = dumptest
-macx {
- CONFIG -= app_bundle
- LIBS += -framework Carbon
-}
-
-CONFIG += qt
-QT += opengl
-
-# Optionally specify location of Eigen2 using the
-# EIGEN2DIR env. variable
-EIGEN2_DIR = $$(EIGEN2DIR)
-!isEmpty(EIGEN2_DIR) {
- INCLUDEPATH += $$EIGEN2_DIR
-}
-else {
- macx {
- INCLUDEPATH += /opt/local/include/eigen2
- }
- else {
- INCLUDEPATH += /usr/include/eigen2
- }
-}
-FORMS += ../src/Preferences.ui
-HEADERS += ../src/Preferences.h
-SOURCES += ../src/Preferences.cc
-
-LEXSOURCES += ../src/lexer.l
-YACCSOURCES += ../src/parser.y
-
-HEADERS += ../src/builtin.h \
- ../src/cgal.h \
- ../src/context.h \
- ../src/csgterm.h \
- ../src/dxfdata.h \
- ../src/dxfdim.h \
- ../src/dxftess.h \
- ../src/export.h \
- ../src/expression.h \
- ../src/function.h \
- ../src/grid.h \
- ../src/module.h \
- ../src/node.h \
- ../src/dxflinextrudenode.h \
- ../src/dxfrotextrudenode.h \
- ../src/projectionnode.h \
- ../src/importnode.h \
- ../src/csgnode.h \
- ../src/openscad.h \
- ../src/polyset.h \
- ../src/printutils.h \
- ../src/value.h \
- ../src/progress.h \
- ../src/traverser.h \
- ../src/csgnode.h \
- ../src/visitor.h \
- ../src/nodedumper.h \
- ../src/nodecache.h \
- ../src/importnode.h \
- ../src/state.h \
- ../src/PolySetRenderer.h \
- ../src/Tree.h
-
-SOURCES += dumptest.cc \
- ../src/export.cc \
- ../src/value.cc \
- ../src/expr.cc \
- ../src/func.cc \
- ../src/module.cc \
- ../src/node.cc \
- ../src/context.cc \
- ../src/csgterm.cc \
- ../src/polyset.cc \
- ../src/csgops.cc \
- ../src/transform.cc \
- ../src/primitives.cc \
- ../src/projection.cc \
- ../src/cgaladv.cc \
- ../src/surface.cc \
- ../src/control.cc \
- ../src/render.cc \
- ../src/import.cc \
- ../src/dxfdata.cc \
- ../src/dxftess.cc \
- ../src/dxfdim.cc \
- ../src/dxflinextrude.cc \
- ../src/dxfrotextrude.cc \
- ../src/printutils.cc \
- ../src/progress.cc \
- ../src/nodedumper.cc \
- ../src/traverser.cc \
- ../src/PolySetRenderer.cc \
- ../src/Tree.cc
Please sign in to comment.
Something went wrong with that request. Please try again.