[Scons-dev] Java tests
Bill Deegan
bill at baddogconsulting.com
Wed Apr 6 21:16:54 EDT 2016
Files in test which call Jar()..
Java/JAR.py:env.Jar(target = 'test1.jar', source = 'test1.class')
Java/JAR.py:env.Jar(target = 'test2.jar', source = 'test2.CLASS')
Java/JAR.py:env.Jar(target = 'classes.jar', source = [ 'testdir/bar.class',
Java/JAR.py:foo.Jar(target = 'foo', source = 'classes/com/sub/foo')
Java/JAR.py:bar.Jar(target = 'bar', source = 'classes/com/sub/bar')
Java/jar_not_in_PATH.py:env.Jar(target = 'test1.jar', source =
'test1.class')
Java/JARCHDIR.py:jar = env.Jar(File('c.jar', dir), bin)
Java/JARCHDIR.py:inner = env.Jar('inner.jar', 'Inner$$Class.class')
Java/JARCHDIR.py:target_env.Jar('out/t.jar', 'in/t.class')
Java/JARCHDIR.py:source_env.Jar('out/s.jar', 'in/s.class')
Java/JARCOM.py:env.Jar(target = 'test1', source = ['file1.in', 'file2.in', '
file3.in'])
Java/JARCOMSTR.py: JARCOMSTR = "Jar'ing up $TARGET from
$SOURCES")
Java/JARCOMSTR.py:env.Jar(target = 'test1', source = ['file1.in', 'file2.in',
'file3.in'])
Java/JARCOMSTR.py:Jar'ing up test1.jar from file1.in file2.in file3.in
Java/JARFLAGS.py:env.Jar(target = 'test.jar', source = class_files)
Java/multi-step.py:denv.Jar('HelloApplet',classes)
Java/multi-step.py:denv.Jar('myid','MyID.java')
Java/multi-step.py:denv.Jar(['Sample.i','A.java'])
Java/nested-classes.py:env.Jar(target = 'anon.jar', source = classes)
Java/no-JARCHDIR.py:Verify the Jar() behavior when we have no JARCHDIR set
(it should
Java/no-JARCHDIR.py:jar = env.Jar('x.jar', env.Java(target = 'classes',
source = 'src'))
Java/no-JARCHDIR.py:jar = env.Jar('x.jar', env.Java(target = 'classes',
source = 'src'))
Java/swig-dependencies.py:foopack_jar = env.Jar(target = 'foopack.jar',
source = 'classes')
VariantDir/include-subdir.py:Test case supplied by Jared Grubb, based on a
minimal example supplied
Note that the JARCOMSTR has a fake jar python script so likely that's not
what you're looking for.
-Bill
On Wed, Apr 6, 2016 at 9:14 PM, William Blevins <wblevins001 at gmail.com>
wrote:
> Rob,
>
> Tests exist under #test with Java-related integration tests under
> #test/Java. Not sure if all of them build jars.
>
> Information on the SCons test framework can be found under #QMTest as a
> README.txt and some *.rst file(s).
>
> https://bitbucket.org/scons/scons/wiki/DeveloperGuide/TestingMethodology
>
> V/R,
> William
>
> On Wed, Apr 6, 2016 at 4:13 PM, Rob Boehne <robb at datalogics.com> wrote:
>
>> All,
>>
>> I’m working on fixing an issue with scons, and It would help if someone
>> could point me to a test currently in the test suite that compiles java
>> into a jar.
>>
>> Thanks,
>>
>> Robert Boehne
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160406/1be747f2/attachment.html>
More information about the Scons-dev
mailing list