[LLVMbugs] [Bug 3065] New: test-suite completely fails due to bad makefile test-suite/ SingleSource/Makefile

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 13 00:56:44 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=3065

           Summary: test-suite completely fails due to bad makefile test-
                    suite/SingleSource/Makefile
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Nightly Tester
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: go0 at go.ru
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2202)
 --> (http://llvm.org/bugs/attachment.cgi?id=2202)
configure-make-make check-... log file, test-suite Makefile's

I am completely unable to run external test suite (the big package that should
be unpacked to projects/test-suite). I try to closely follow TestingGuide, and
i even use an antique 3.79.1 version of make which is recommended by llvm
documentation as known-to-work

Symptom: 
======== log file fragment start ======================
Running
/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/test/Transforms/StripSymbols/dg.exp
...
Running
/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/test/Transforms/TailCallElim/dg.exp
...
Running
/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/test/Transforms/TailDup/dg.exp
...
Running
/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/test/Verifier/dg.exp ...

                ===  Summary ===

# of expected passes            2781
# of unexpected failures        3
# of unexpected successes       1
# of expected failures          5
antique_make-3.79.1[1]: *** [check-local] Error 1
antique_make-3.79.1[1]: Leaving directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/test'
antique_make-3.79.1: *** [check] Error 2
antique_make-3.79.1: Entering directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite'
antique_make-3.79.1[1]: Entering directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource'
antique_make-3.79.1[2]: Entering directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource/UnitTests'
antique_make-3.79.1[3]: Entering directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource/UnitTests/Vector'
antique_make-3.79.1[3]: *** No rule to make target `Output/build.linked.rbc',
needed by `Output/build.linked.bc'.  Stop.
antique_make-3.79.1[3]: Leaving directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource/UnitTests/Vector'
antique_make-3.79.1[2]: *** [all] Error 1
antique_make-3.79.1[2]: Leaving directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource/UnitTests'
antique_make-3.79.1[1]: *** [UnitTests/.makeall] Error 2
antique_make-3.79.1[1]: Leaving directory
`/tmp/portage/dev-libs/llvm_and_test-2.4/work/llvm-2.4/projects/test-suite/SingleSource'

======== log file fragment start ======================

I found the rule in test-suite/SingleSource/Makefile.singlesrc:

============== Makefile.singlesrc fragment start======================
ifndef USE_PRECOMPILED_BYTECODE
Output/%.linked.rbc: Output/%.bc
        -cp -f $< $@

Output/%.LOC.txt: $(SourceDir)/%.c
        cat $< | wc -l > $@

Output/%.LOC.txt: $(SourceDir)/%.cpp
        cat $< | wc -l > $@
endif
============== Makefile.singlesrc fragment end  ======================

Looks like that this file is not included by accompaning Makefile:
======= test-suite/SingleSource/Makefile start ======
LEVEL = ..

PARALLEL_DIRS  = UnitTests Regression Benchmarks

LDFLAGS += -lm

include Makefile.singlesrc
======= test-suite/SingleSource/Makefile end   ======

LEVEL = .. is incorrect; it should be .

The wrong test-suite/SingleSource/Makefile seems to be auto-generated. But i
failed to find the script that did it. Any ideas? I want to repair it, to test
if my llvm installation is ok

I attach complete log file, some auto-generated files from test-suite
(preserving directory order); the 2 makefiles mentioned above included, of
course


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list