This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Unit tests don't work on remote hosts with "Smart Secure Copy" option. Scenario: Create C/C++ application, add simple C++ test with help of wizard. Run "Test" action on folder. Output: "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf gmake[1]: Entering directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/cppapplication_116 gmake[2]: Entering directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' gmake[2]: `dist/Debug/GNU-Linux-x86/cppapplication_116' is up to date. gmake[2]: Leaving directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' gmake[1]: Leaving directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-tests-conf gmake[1]: Entering directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/cppapplication_116 gmake[2]: Entering directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' gmake[1]: Warning: File `tests/newsimpletest.cpp' has modification time 7.6e+03 s in the future gmake[2]: `dist/Debug/GNU-Linux-x86/cppapplication_116' is up to date. gmake[2]: Leaving directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' tests/newsimpletest.cpp:1:1: warning: null character(s) ignored /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crt1.o: In function `_start': init.c:(.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status gmake[1]: *** [build/Debug/GNU-Linux-x86/tests/TestFiles/f1] Error 1 mkdir -p build/Debug/GNU-Linux-x86/tests/tests rm -f build/Debug/GNU-Linux-x86/tests/tests/newsimpletest.o.d g++ -c -g -I. -MMD -MP -MF build/Debug/GNU-Linux-x86/tests/tests/newsimpletest.o.d -o build/Debug/GNU-Linux-x86/tests/tests/newsimpletest.o tests/newsimpletest.cpp mkdir -p build/Debug/GNU-Linux-x86/tests/TestFiles g++ -o build/Debug/GNU-Linux-x86/tests/TestFiles/f1 build/Debug/GNU-Linux-x86/tests/tests/newsimpletest.o build/Debug/GNU-Linux-x86/main_nomain.o gmake[1]: Leaving directory `/export/home/tester/.netbeans/remote/nnnnnk-SunOS-x86_64/home/nk220367/NetBeansProjects/CppApplication_116' gmake: *** [.build-tests-impl] Error 2 I guess that "tests/newsimpletest.cpp:1:1: warning: null character(s) ignored" means that newsimpletest.cpp is empty for some reasons. With "File System Sharing" everything is ok.
Fixed in cnd-main http://hg.netbeans.org/cnd-main/rev/e212312ce2de
Integrated into 'main-golden', will be available in build *201005170932* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
Integrated into 'main-golden', will be available in build *201005182201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: