(irrelevant) adjustments to make the SCons build of the nonexistant source happen

This commit is contained in:
Fischlurch 2008-07-11 05:01:56 +02:00
parent e04c7d54cb
commit bfa4b2bc70
7 changed files with 59 additions and 20 deletions

View file

@ -247,7 +247,6 @@ def defineBuildTargets(env, artifacts):
# use PCH to speed up building
precomp = ( env.PrecompiledHeader('$SRCDIR/pre')
+ env.PrecompiledHeader('$SRCDIR/pre_a')
)
env.Depends(objproc, precomp)
env.Depends(objlib, precomp)

View file

@ -26,21 +26,15 @@
#include "proc/lumiera.hpp"
using std::cout;
using std::endl;
using lumiera::Appconfig;
using lumiera::ON_GLOBAL_INIT;
using lumiera::ON_GLOBAL_SHUTDOWN;
int main (int argc, char* argv[])
{
cout << "*** Lumiera NLE for Linux ***" << endl
<< " Version: " << Appconfig::get("version") << "\n";
cout << "*** Lumiera NLE for Linux ***" << "\n"
<< " Version: quasi niente" << "\n";
Appconfig::lifecycle (ON_GLOBAL_INIT);
// great things are happening here....
Appconfig::lifecycle (ON_GLOBAL_SHUTDOWN);
return 0;
}

View file

@ -30,10 +30,7 @@
/* common types frequently used... */
#include "common/util.hpp"
#include "common/time.hpp"
#include "common/error.hpp" ///< pulls in NoBug via nobugcfg.hpp
#include "lib/appconfig.hpp"
#include "proc/nobugcfg.hpp"
namespace lumiera

View file

@ -45,8 +45,6 @@
#include <syslog.h>
#include <nobug.h>
#include "lib/appconfig.hpp"
#include "common/error.hpp" ///< make assertions throw instead of abort()
/* declare flags used throughout the code base... */
@ -61,7 +59,7 @@
namespace lumiera {
void initialize_NoBug ();
namespace {
LifecycleHook schedule_ (ON_BASIC_INIT, &initialize_NoBug);
// LifecycleHook schedule_ (ON_BASIC_INIT, &initialize_NoBug);
} }
#endif /*NOBUGCFG_H ======= (End) Part 1: DECLARATIONS ======== */

View file

@ -11,3 +11,14 @@ err: /bin/cat: ,nonexistent_file: No such file or directory
return: 1
END
TESTING "Run the Dummy Test Executable" ./test-bugs
TEST "I am a dummy test" <<END
out: *** Lumiera NLE for Linux ***
out: This is a dummy test
return: 2
END
PLANNED "this may never happen"
END

View file

@ -57,10 +57,10 @@ specials = ['plugin','locking','library']
artifacts['testsuite'] = ts = ( [ testExecutable(env, dir) for dir in moduledirs if not dir in specials]
+ treatPluginTestcase(env)
+ testExecutable(env, 'locking', obj=['test-locking.c','mutex.c','condition.c'])
+ testExecutable(env, 'library', exeName='test-llist', obj=['test-llist.c'])
+ testExecutable(env, 'library', exeName='test-references', obj=['test-references.c'])
# + treatPluginTestcase(env)
# + testExecutable(env, 'locking', obj=['test-locking.c','mutex.c','condition.c'])
# + testExecutable(env, 'library', exeName='test-llist', obj=['test-llist.c'])
# + testExecutable(env, 'library', exeName='test-references', obj=['test-references.c'])
)

40
tests/bugs/buggy.cpp Normal file
View file

@ -0,0 +1,40 @@
/*
buggy.cpp - a dummy test
Copyright (C) Lumiera.org
2008, Christian Thaeter <ct@pipapo.org>
Hermann Vosseler <Ichthyostega@web.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <iostream>
#include "proc/lumiera.hpp"
using std::cout;
int main (int argc, char* argv[])
{
cout << "*** Lumiera NLE for Linux ***" << "\n"
<< " This is a dummy test" << "\n";
// great things are happening here....
return 2;
}