-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate main due to moulitest (ft_ls) #111
Comments
Je n'ai pas reussi a reproduire ton erreur Peut-tu faire un asciinema ou des screenshots ? (Asciinema prefered) |
Ok. Voilà la vidéo : https://asciinema.org/a/QIVig4pIvvtOv4M9PGMebjpPe Et le retour de moulitest en pièce jointe |
Est ce que je peux aussi avoir le retour de |
echo "tests/00_test_without_opt.spec.c tests/01_test_opt_R.spec.c tests/02_test_sorted.spec.c tests/03_test_multiple_dir.spec.c tests/04_test_opt_a.spec.c tests/05_test_opt_r.spec.c tests/06_test_opt_rR.spec.c tests/07_test_opt_t.spec.c tests/07_test_opt_tR_bis.spec.c tests/08_test_opt_l.spec.c tests/09_test_opt_aR.spec.c tests/10_test_opt_aRl.spec.c tests/11_test_single_file.spec.c tests/12_test_permissions.spec.c tests/13_test_hyphen_hard.spec.c tests/14_test_hyphen_harder.spec.c tests/20_test_error_handling.spec.c tests/21_test_symlink.spec.c tests/22_test_no_username.spec.c tests/23_test_no_groupname.spec.c tests/24_test_multiple_files.spec.c tests/25_perm_special_bits.spec.c tests/26_perm_special_bits_dir.spec.c tests/30_test_opt_mix.spec.c tests/bonus_01_test_opt_d.spec.c tests/bonus_02_test_opt_p.spec.c tests/bonus_03_test_opt_U.spec.c tests/bonus_04_test_opt_c.spec.c tests/bonus_05_test_opt_S.spec.c tests/bonus_06_test_opt_u.spec.c tests/bonus_07_test_opt_A.spec.c tests/bonus_08_test_opt_1.spec.c tests/bonus_09_test_opt_f.spec.c tests/bonus_10_test_opt_T.spec.c tests/bonus_11_test_opt_g.spec.c tests/bonus_12_test_opt_o_og.spec.c tests/bonus_13_test_opt_F_Fp.spec.c tests/bonus_20_test_opt_comb_aA.spec.c tests/bonus_21_test_opt_mix_sort.spec.c tests/bonus_22_test_sort_comb.spec.c tests/bonus_30_test_xattr.spec.c tests/bonus_31_test_usr_xattr.spec.c tests/bonus_32_test_ACL.spec.c tests/bonus_34_test_redis.spec.c tests/bonus_40_dir_root.spec.c tests/sys_00_test_user_bin.spec.c tests/sys_01_test_dev.spec.c tests/sys_02_test_etc.spec.c tests/sys_03_test_many_files.spec.c tests/sys_04_test_var_run.spec.c"
tests/00_test_without_opt.spec.c tests/01_test_opt_R.spec.c tests/02_test_sorted.spec.c tests/03_test_multiple_dir.spec.c tests/04_test_opt_a.spec.c tests/05_test_opt_r.spec.c tests/06_test_opt_rR.spec.c tests/07_test_opt_t.spec.c tests/07_test_opt_tR_bis.spec.c tests/08_test_opt_l.spec.c tests/09_test_opt_aR.spec.c tests/10_test_opt_aRl.spec.c tests/11_test_single_file.spec.c tests/12_test_permissions.spec.c tests/13_test_hyphen_hard.spec.c tests/14_test_hyphen_harder.spec.c tests/20_test_error_handling.spec.c tests/21_test_symlink.spec.c tests/22_test_no_username.spec.c tests/23_test_no_groupname.spec.c tests/24_test_multiple_files.spec.c tests/25_perm_special_bits.spec.c tests/26_perm_special_bits_dir.spec.c tests/30_test_opt_mix.spec.c tests/bonus_01_test_opt_d.spec.c tests/bonus_02_test_opt_p.spec.c tests/bonus_03_test_opt_U.spec.c tests/bonus_04_test_opt_c.spec.c tests/bonus_05_test_opt_S.spec.c tests/bonus_06_test_opt_u.spec.c tests/bonus_07_test_opt_A.spec.c tests/bonus_08_test_opt_1.spec.c tests/bonus_09_test_opt_f.spec.c tests/bonus_10_test_opt_T.spec.c tests/bonus_11_test_opt_g.spec.c tests/bonus_12_test_opt_o_og.spec.c tests/bonus_13_test_opt_F_Fp.spec.c tests/bonus_20_test_opt_comb_aA.spec.c tests/bonus_21_test_opt_mix_sort.spec.c tests/bonus_22_test_sort_comb.spec.c tests/bonus_30_test_xattr.spec.c tests/bonus_31_test_usr_xattr.spec.c tests/bonus_32_test_ACL.spec.c tests/bonus_34_test_redis.spec.c tests/bonus_40_dir_root.spec.c tests/sys_00_test_user_bin.spec.c tests/sys_01_test_dev.spec.c tests/sys_02_test_etc.spec.c tests/sys_03_test_many_files.spec.c tests/sys_04_test_var_run.spec.c
make re -k -C /Users/flayor/42/ft_ls/libft
libft.a: Removing objects dir...
libft.a: Deleting...
libft.a: Create objects dir...
libft.a: Compiling: srcs/ft_memset.c...
libft.a: Compiling: srcs/ft_bzero.c...
libft.a: Compiling: srcs/ft_memcpy.c...
libft.a: Compiling: srcs/ft_memccpy.c...
libft.a: Compiling: srcs/ft_memmove.c...
libft.a: Compiling: srcs/ft_memchr.c...
libft.a: Compiling: srcs/ft_memcmp.c...
libft.a: Compiling: srcs/ft_strlen.c...
libft.a: Compiling: srcs/ft_strdup.c...
libft.a: Compiling: srcs/ft_strcpy.c...
libft.a: Compiling: srcs/ft_strncpy.c...
libft.a: Compiling: srcs/ft_strcat.c...
libft.a: Compiling: srcs/ft_strncat.c...
libft.a: Compiling: srcs/ft_strlcat.c...
libft.a: Compiling: srcs/ft_strchr.c...
libft.a: Compiling: srcs/ft_strrchr.c...
libft.a: Compiling: srcs/ft_strstr.c...
libft.a: Compiling: srcs/ft_strnstr.c...
libft.a: Compiling: srcs/ft_strcmp.c...
libft.a: Compiling: srcs/ft_strncmp.c...
libft.a: Compiling: srcs/ft_atoi.c...
libft.a: Compiling: srcs/ft_isalpha.c...
libft.a: Compiling: srcs/ft_isdigit.c...
libft.a: Compiling: srcs/ft_isalnum.c...
libft.a: Compiling: srcs/ft_isascii.c...
libft.a: Compiling: srcs/ft_isprint.c...
libft.a: Compiling: srcs/ft_toupper.c...
libft.a: Compiling: srcs/ft_putchar_fd.c...
libft.a: Compiling: srcs/ft_putstr_fd.c...
libft.a: Compiling: srcs/ft_putnbr.c...
libft.a: Compiling: srcs/ft_putnbr_fd.c...
libft.a: Compiling: srcs/ft_putendl.c...
libft.a: Compiling: srcs/ft_putendl_fd.c...
libft.a: Compiling: srcs/ft_memdel.c...
libft.a: Compiling: srcs/ft_strdel.c...
libft.a: Compiling: srcs/ft_strnew.c...
libft.a: Compiling: srcs/ft_tolower.c...
libft.a: Compiling: srcs/ft_putchar.c...
libft.a: Compiling: srcs/ft_memalloc.c...
libft.a: Compiling: srcs/ft_strclr.c...
libft.a: Compiling: srcs/ft_striter.c...
libft.a: Compiling: srcs/ft_striteri.c...
libft.a: Compiling: srcs/ft_strmap.c...
libft.a: Compiling: srcs/ft_strmapi.c...
libft.a: Compiling: srcs/ft_strsub.c...
libft.a: Compiling: srcs/ft_putstr.c...
libft.a: Compiling: srcs/ft_strjoin.c...
libft.a: Compiling: srcs/ft_strtrim.c...
libft.a: Compiling: srcs/ft_itoa.c...
libft.a: Compiling: srcs/ft_isspace.c...
libft.a: Compiling: srcs/ft_isnegative.c...
libft.a: Compiling: srcs/ft_lstnew.c...
libft.a: Compiling: srcs/ft_lstadd.c...
libft.a: Compiling: srcs/ft_strsplit.c...
libft.a: Compiling: srcs/ft_strequ.c...
libft.a: Compiling: srcs/ft_strnequ.c...
libft.a: Compiling: srcs/ft_lstdel.c...
libft.a: Compiling: srcs/ft_lstiter.c...
libft.a: Compiling: srcs/ft_lstmap.c...
libft.a: Compiling: srcs/ft_lstdelone.c...
libft.a: Compiling: srcs/ft_strupcase.c...
libft.a: Compiling: srcs/ft_strlowcase.c...
libft.a: Compiling: srcs/ft_split_whitespaces.c...
libft.a: Compiling: srcs/ft_param_to_tab.c...
libft.a: Compiling: srcs/ft_show_tab.c...
libft.a: Compiling: srcs/ft_strjoinfree.c...
make re -k -C /Users/flayor/42/ft_ls -L /Users/flayor/42/ft_ls/libft -lft
ft_ls: Removing objects dir...
ft_ls_debug: Removing objects dir...
libft.a: Removing objects dir...
ft_ls: Deleting...
ft_ls_debug: Deleting...
libft.a: Deleting...
libft.a: Create objects dir...
libft.a: Compiling: srcs/ft_memset.c...
libft.a: Compiling: srcs/ft_bzero.c...
libft.a: Compiling: srcs/ft_memcpy.c...
libft.a: Compiling: srcs/ft_memccpy.c...
libft.a: Compiling: srcs/ft_memmove.c...
libft.a: Compiling: srcs/ft_memchr.c...
libft.a: Compiling: srcs/ft_memcmp.c...
libft.a: Compiling: srcs/ft_strlen.c...
libft.a: Compiling: srcs/ft_strdup.c...
libft.a: Compiling: srcs/ft_strcpy.c...
libft.a: Compiling: srcs/ft_strncpy.c...
libft.a: Compiling: srcs/ft_strcat.c...
libft.a: Compiling: srcs/ft_strncat.c...
libft.a: Compiling: srcs/ft_strlcat.c...
libft.a: Compiling: srcs/ft_strchr.c...
libft.a: Compiling: srcs/ft_strrchr.c...
libft.a: Compiling: srcs/ft_strstr.c...
libft.a: Compiling: srcs/ft_strnstr.c...
libft.a: Compiling: srcs/ft_strcmp.c...
libft.a: Compiling: srcs/ft_strncmp.c...
libft.a: Compiling: srcs/ft_atoi.c...
libft.a: Compiling: srcs/ft_isalpha.c...
libft.a: Compiling: srcs/ft_isdigit.c...
libft.a: Compiling: srcs/ft_isalnum.c...
libft.a: Compiling: srcs/ft_isascii.c...
libft.a: Compiling: srcs/ft_isprint.c...
libft.a: Compiling: srcs/ft_toupper.c...
libft.a: Compiling: srcs/ft_putchar_fd.c...
libft.a: Compiling: srcs/ft_putstr_fd.c...
libft.a: Compiling: srcs/ft_putnbr.c...
libft.a: Compiling: srcs/ft_putnbr_fd.c...
libft.a: Compiling: srcs/ft_putendl.c...
libft.a: Compiling: srcs/ft_putendl_fd.c...
libft.a: Compiling: srcs/ft_memdel.c...
libft.a: Compiling: srcs/ft_strdel.c...
libft.a: Compiling: srcs/ft_strnew.c...
libft.a: Compiling: srcs/ft_tolower.c...
libft.a: Compiling: srcs/ft_putchar.c...
libft.a: Compiling: srcs/ft_memalloc.c...
libft.a: Compiling: srcs/ft_strclr.c...
libft.a: Compiling: srcs/ft_striter.c...
libft.a: Compiling: srcs/ft_striteri.c...
libft.a: Compiling: srcs/ft_strmap.c...
libft.a: Compiling: srcs/ft_strmapi.c...
libft.a: Compiling: srcs/ft_strsub.c...
libft.a: Compiling: srcs/ft_putstr.c...
libft.a: Compiling: srcs/ft_strjoin.c...
libft.a: Compiling: srcs/ft_strtrim.c...
libft.a: Compiling: srcs/ft_itoa.c...
libft.a: Compiling: srcs/ft_isspace.c...
libft.a: Compiling: srcs/ft_isnegative.c...
libft.a: Compiling: srcs/ft_lstnew.c...
libft.a: Compiling: srcs/ft_lstadd.c...
libft.a: Compiling: srcs/ft_strsplit.c...
libft.a: Compiling: srcs/ft_strequ.c...
libft.a: Compiling: srcs/ft_strnequ.c...
libft.a: Compiling: srcs/ft_lstdel.c...
libft.a: Compiling: srcs/ft_lstiter.c...
libft.a: Compiling: srcs/ft_lstmap.c...
libft.a: Compiling: srcs/ft_lstdelone.c...
libft.a: Compiling: srcs/ft_strupcase.c...
libft.a: Compiling: srcs/ft_strlowcase.c...
libft.a: Compiling: srcs/ft_split_whitespaces.c...
libft.a: Compiling: srcs/ft_param_to_tab.c...
libft.a: Compiling: srcs/ft_show_tab.c...
libft.a: Compiling: srcs/ft_strjoinfree.c...
ft_ls: Create objects dir...
ft_ls_debug: Create objects dir...
ft_ls: Compiling: srcs/ft_arg.c...
ft_ls: Compiling: srcs/ft_color.c...
ft_ls: Compiling: srcs/ft_display.c...
ft_ls: Compiling: srcs/ft_display_init.c...
ft_ls: Compiling: srcs/ft_display_rec.c...
ft_ls: Compiling: srcs/ft_err.c...
ft_ls: Compiling: srcs/ft_init.c...
ft_ls: Compiling: srcs/ft_print.c...
ft_ls: Compiling: srcs/ft_ls.c...
ft_ls: Compiling: srcs/ft_sort.c...
ft_ls: Compiling: srcs/ft_free.c...
ft_ls: Compiling: srcs/ft_space.c...
ft_ls: Compiling: srcs/main.c...
ft_ls_debug: Compiling: srcs/ft_arg.c...
ft_ls_debug: Compiling: srcs/ft_color.c...
ft_ls_debug: Compiling: srcs/ft_display.c...
ft_ls_debug: Compiling: srcs/ft_display_init.c...
ft_ls_debug: Compiling: srcs/ft_display_rec.c...
ft_ls_debug: Compiling: srcs/ft_err.c...
ft_ls_debug: Compiling: srcs/ft_init.c...
ft_ls_debug: Compiling: srcs/ft_print.c...
ft_ls_debug: Compiling: srcs/ft_ls.c...
ft_ls_debug: Compiling: srcs/ft_sort.c...
ft_ls_debug: Compiling: srcs/ft_free.c...
ft_ls_debug: Compiling: srcs/ft_space.c...
ft_ls_debug: Compiling: srcs/main.c...
make[3]: Nothing to be done for `/Users/flayor/42/ft_ls/libft'.
make -k -C ../testframework/v3/
rm -f *.o
cc -Wall -Werror -Wextra -ggdb -I includes -c srcs/**/*.c
ar rc libmt_framework.a *.o
cc -g -I . -I ../testframework/v3//includes -I /Users/flayor/42/ft_ls -I /Users/flayor/42/ft_ls/includes -I /Users/flayor/42/ft_ls/includes/builtin -I /Users/flayor/42/ft_ls/libs/libtowel/includes -I /Users/flayor/42/ft_ls/libft/includes -I /Users/flayor/42/ft_ls/srcs/libft/includes -D__MOULITEST__ -DPROTOTYPES="MT_ADD_PROTO(00_test_without_opt); MT_ADD_PROTO(01_test_opt_R); MT_ADD_PROTO(02_test_sorted); MT_ADD_PROTO(03_test_multiple_dir); MT_ADD_PROTO(04_test_opt_a); MT_ADD_PROTO(05_test_opt_r); MT_ADD_PROTO(06_test_opt_rR); MT_ADD_PROTO(07_test_opt_t); MT_ADD_PROTO(07_test_opt_tR_bis); MT_ADD_PROTO(08_test_opt_l); MT_ADD_PROTO(09_test_opt_aR); MT_ADD_PROTO(10_test_opt_aRl); MT_ADD_PROTO(11_test_single_file); MT_ADD_PROTO(12_test_permissions); MT_ADD_PROTO(13_test_hyphen_hard); MT_ADD_PROTO(14_test_hyphen_harder); MT_ADD_PROTO(20_test_error_handling); MT_ADD_PROTO(21_test_symlink); MT_ADD_PROTO(22_test_no_username); MT_ADD_PROTO(23_test_no_groupname); MT_ADD_PROTO(24_test_multiple_files); MT_ADD_PROTO(25_perm_special_bits); MT_ADD_PROTO(26_perm_special_bits_dir); MT_ADD_PROTO(30_test_opt_mix); MT_ADD_PROTO(bonus_01_test_opt_d); MT_ADD_PROTO(bonus_02_test_opt_p); MT_ADD_PROTO(bonus_03_test_opt_U); MT_ADD_PROTO(bonus_04_test_opt_c); MT_ADD_PROTO(bonus_05_test_opt_S); MT_ADD_PROTO(bonus_06_test_opt_u); MT_ADD_PROTO(bonus_07_test_opt_A); MT_ADD_PROTO(bonus_08_test_opt_1); MT_ADD_PROTO(bonus_09_test_opt_f); MT_ADD_PROTO(bonus_10_test_opt_T); MT_ADD_PROTO(bonus_11_test_opt_g); MT_ADD_PROTO(bonus_12_test_opt_o_og); MT_ADD_PROTO(bonus_13_test_opt_F_Fp); MT_ADD_PROTO(bonus_20_test_opt_comb_aA); MT_ADD_PROTO(bonus_21_test_opt_mix_sort); MT_ADD_PROTO(bonus_22_test_sort_comb); MT_ADD_PROTO(bonus_30_test_xattr); MT_ADD_PROTO(bonus_31_test_usr_xattr); MT_ADD_PROTO(bonus_32_test_ACL); MT_ADD_PROTO(bonus_34_test_redis); MT_ADD_PROTO(bonus_40_dir_root); MT_ADD_PROTO(sys_00_test_user_bin); MT_ADD_PROTO(sys_01_test_dev); MT_ADD_PROTO(sys_02_test_etc); MT_ADD_PROTO(sys_03_test_many_files); MT_ADD_PROTO(sys_04_test_var_run); " -DADD_TESTS="MT_ADD_SUITE(mt, 00_test_without_opt, suite_00_test_without_opt); MT_ADD_SUITE(mt, 01_test_opt_R, suite_01_test_opt_R); MT_ADD_SUITE(mt, 02_test_sorted, suite_02_test_sorted); MT_ADD_SUITE(mt, 03_test_multiple_dir, suite_03_test_multiple_dir); MT_ADD_SUITE(mt, 04_test_opt_a, suite_04_test_opt_a); MT_ADD_SUITE(mt, 05_test_opt_r, suite_05_test_opt_r); MT_ADD_SUITE(mt, 06_test_opt_rR, suite_06_test_opt_rR); MT_ADD_SUITE(mt, 07_test_opt_t, suite_07_test_opt_t); MT_ADD_SUITE(mt, 07_test_opt_tR_bis, suite_07_test_opt_tR_bis); MT_ADD_SUITE(mt, 08_test_opt_l, suite_08_test_opt_l); MT_ADD_SUITE(mt, 09_test_opt_aR, suite_09_test_opt_aR); MT_ADD_SUITE(mt, 10_test_opt_aRl, suite_10_test_opt_aRl); MT_ADD_SUITE(mt, 11_test_single_file, suite_11_test_single_file); MT_ADD_SUITE(mt, 12_test_permissions, suite_12_test_permissions); MT_ADD_SUITE(mt, 13_test_hyphen_hard, suite_13_test_hyphen_hard); MT_ADD_SUITE(mt, 14_test_hyphen_harder, suite_14_test_hyphen_harder); MT_ADD_SUITE(mt, 20_test_error_handling, suite_20_test_error_handling); MT_ADD_SUITE(mt, 21_test_symlink, suite_21_test_symlink); MT_ADD_SUITE(mt, 22_test_no_username, suite_22_test_no_username); MT_ADD_SUITE(mt, 23_test_no_groupname, suite_23_test_no_groupname); MT_ADD_SUITE(mt, 24_test_multiple_files, suite_24_test_multiple_files); MT_ADD_SUITE(mt, 25_perm_special_bits, suite_25_perm_special_bits); MT_ADD_SUITE(mt, 26_perm_special_bits_dir, suite_26_perm_special_bits_dir); MT_ADD_SUITE(mt, 30_test_opt_mix, suite_30_test_opt_mix); MT_ADD_SUITE(mt, bonus_01_test_opt_d, suite_bonus_01_test_opt_d); MT_ADD_SUITE(mt, bonus_02_test_opt_p, suite_bonus_02_test_opt_p); MT_ADD_SUITE(mt, bonus_03_test_opt_U, suite_bonus_03_test_opt_U); MT_ADD_SUITE(mt, bonus_04_test_opt_c, suite_bonus_04_test_opt_c); MT_ADD_SUITE(mt, bonus_05_test_opt_S, suite_bonus_05_test_opt_S); MT_ADD_SUITE(mt, bonus_06_test_opt_u, suite_bonus_06_test_opt_u); MT_ADD_SUITE(mt, bonus_07_test_opt_A, suite_bonus_07_test_opt_A); MT_ADD_SUITE(mt, bonus_08_test_opt_1, suite_bonus_08_test_opt_1); MT_ADD_SUITE(mt, bonus_09_test_opt_f, suite_bonus_09_test_opt_f); MT_ADD_SUITE(mt, bonus_10_test_opt_T, suite_bonus_10_test_opt_T); MT_ADD_SUITE(mt, bonus_11_test_opt_g, suite_bonus_11_test_opt_g); MT_ADD_SUITE(mt, bonus_12_test_opt_o_og, suite_bonus_12_test_opt_o_og); MT_ADD_SUITE(mt, bonus_13_test_opt_F_Fp, suite_bonus_13_test_opt_F_Fp); MT_ADD_SUITE(mt, bonus_20_test_opt_comb_aA, suite_bonus_20_test_opt_comb_aA); MT_ADD_SUITE(mt, bonus_21_test_opt_mix_sort, suite_bonus_21_test_opt_mix_sort); MT_ADD_SUITE(mt, bonus_22_test_sort_comb, suite_bonus_22_test_sort_comb); MT_ADD_SUITE(mt, bonus_30_test_xattr, suite_bonus_30_test_xattr); MT_ADD_SUITE(mt, bonus_31_test_usr_xattr, suite_bonus_31_test_usr_xattr); MT_ADD_SUITE(mt, bonus_32_test_ACL, suite_bonus_32_test_ACL); MT_ADD_SUITE(mt, bonus_34_test_redis, suite_bonus_34_test_redis); MT_ADD_SUITE(mt, bonus_40_dir_root, suite_bonus_40_dir_root); MT_ADD_SUITE(mt, sys_00_test_user_bin, suite_sys_00_test_user_bin); MT_ADD_SUITE(mt, sys_01_test_dev, suite_sys_01_test_dev); MT_ADD_SUITE(mt, sys_02_test_etc, suite_sys_02_test_etc); MT_ADD_SUITE(mt, sys_03_test_many_files, suite_sys_03_test_many_files); MT_ADD_SUITE(mt, sys_04_test_var_run, suite_sys_04_test_var_run); " -DRENDU_PATH="\"/Users/flayor/42/ft_ls\"" tests/00_test_without_opt.spec.c tests/01_test_opt_R.spec.c tests/02_test_sorted.spec.c tests/03_test_multiple_dir.spec.c tests/04_test_opt_a.spec.c tests/05_test_opt_r.spec.c tests/06_test_opt_rR.spec.c tests/07_test_opt_t.spec.c tests/07_test_opt_tR_bis.spec.c tests/08_test_opt_l.spec.c tests/09_test_opt_aR.spec.c tests/10_test_opt_aRl.spec.c tests/11_test_single_file.spec.c tests/12_test_permissions.spec.c tests/13_test_hyphen_hard.spec.c tests/14_test_hyphen_harder.spec.c tests/20_test_error_handling.spec.c tests/21_test_symlink.spec.c tests/22_test_no_username.spec.c tests/23_test_no_groupname.spec.c tests/24_test_multiple_files.spec.c tests/25_perm_special_bits.spec.c tests/26_perm_special_bits_dir.spec.c tests/30_test_opt_mix.spec.c tests/bonus_01_test_opt_d.spec.c tests/bonus_02_test_opt_p.spec.c tests/bonus_03_test_opt_U.spec.c tests/bonus_04_test_opt_c.spec.c tests/bonus_05_test_opt_S.spec.c tests/bonus_06_test_opt_u.spec.c tests/bonus_07_test_opt_A.spec.c tests/bonus_08_test_opt_1.spec.c tests/bonus_09_test_opt_f.spec.c tests/bonus_10_test_opt_T.spec.c tests/bonus_11_test_opt_g.spec.c tests/bonus_12_test_opt_o_og.spec.c tests/bonus_13_test_opt_F_Fp.spec.c tests/bonus_20_test_opt_comb_aA.spec.c tests/bonus_21_test_opt_mix_sort.spec.c tests/bonus_22_test_sort_comb.spec.c tests/bonus_30_test_xattr.spec.c tests/bonus_31_test_usr_xattr.spec.c tests/bonus_32_test_ACL.spec.c tests/bonus_34_test_redis.spec.c tests/bonus_40_dir_root.spec.c tests/sys_00_test_user_bin.spec.c tests/sys_01_test_dev.spec.c tests/sys_02_test_etc.spec.c tests/sys_03_test_many_files.spec.c tests/sys_04_test_var_run.spec.c main.c utils.c .tmp/objects/ft_arg.o .tmp/objects/ft_color.o .tmp/objects/ft_display.o .tmp/objects/ft_display_init.o .tmp/objects/ft_display_rec.o .tmp/objects/ft_err.o .tmp/objects/ft_free.o .tmp/objects/ft_init.o .tmp/objects/ft_ls.o .tmp/objects/ft_print.o .tmp/objects/ft_sort.o .tmp/objects/ft_space.o .tmp/objects/main.o -o ft_ls_test -L../testframework/v3/ -lmt_framework
Undefined symbols for architecture x86_64:
"_ft_memdel", referenced from:
_ft_free_file in ft_free.o
_ft_free_dir in ft_free.o
"_ft_putchar", referenced from:
_norme in ft_display_rec.o
_ft_print in ft_print.o
_ft_print_one in ft_print.o
_ft_print_total in ft_print.o
_ft_print_rec in ft_print.o
_ft_print_l_rec in ft_print.o
"_ft_putendl", referenced from:
_ls_one_file in ft_display.o
_ls_simple in ft_display.o
_ls_check_rec in ft_display_rec.o
_ft_err_denied in ft_err.o
_ls_core in ft_ls.o
_ft_print in ft_print.o
_ft_print_one in ft_print.o
...
"_ft_putendl_fd", referenced from:
_ft_error in ft_err.o
_ft_folder_error_exit in ft_err.o
_ft_folder_error in ft_err.o
_ft_err_denied in ft_err.o
"_ft_putnbr", referenced from:
_ft_folder in ft_arg.o
_ls_simple in ft_display.o
_ft_print in ft_print.o
_ft_print_major in ft_print.o
_ft_print_one in ft_print.o
_ft_print_major_one in ft_print.o
_ft_print_total in ft_print.o
...
"_ft_putstr", referenced from:
_ls_simple in ft_display.o
_ls_check_rec in ft_display_rec.o
_ft_err_denied in ft_err.o
_ft_print in ft_print.o
_ft_print_name in ft_print.o
_ft_print_major in ft_print.o
_ft_print_one in ft_print.o
...
"_ft_putstr_fd", referenced from:
_ft_error in ft_err.o
_ft_folder_error_exit in ft_err.o
_ft_folder_error in ft_err.o
_ft_err_denied in ft_err.o
"_ft_strcmp", referenced from:
_ft_ls_set_arg in ft_arg.o
_ft_sort in ft_sort.o
"_ft_strjoin", referenced from:
_ft_prepare_display in ft_display_init.o
_ft_set_date in ft_display_init.o
_norme in ft_display_rec.o
_ft_full_path in ft_init.o
_ft_color_name in ft_init.o
_print_link in ft_init.o
_ls_core in ft_ls.o
...
"_ft_strjoinfree", referenced from:
_ft_full_path in ft_init.o
"_ft_strlen", referenced from:
_ft_stop_arg in ft_arg.o
_ft_arg in ft_arg.o
_ft_print_name in ft_print.o
_ft_count_space in ft_space.o
"_ft_strnew", referenced from:
_print_link in ft_init.o
"_ft_strsub", referenced from:
_ft_set_date in ft_display_init.o
_ft_create_list in ft_init.o
_ft_print_one in ft_print.o
_ft_print_l_rec in ft_print.o
"_ft_strtrim", referenced from:
_ft_set_date in ft_display_init.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [exec_tests] Error 1
make[1]: *** [all] Error 2
make: *** [ft_ls] Error 2 Je me suis permis de remettre au propre |
Ok, j'ai juste refais une autre pour montrer si les erreurs si j'inclus ma libft directement dans srcs/ le "duplucate main" . pour le forbidden function c'est juste un putchar au lieu de ft_putchar ^^ https://asciinema.org/a/U800xQuN9k5h4R9Qzhw0ITcmQ |
make exec_tests
make re -k -C /tmp/ft_ls-tmpls-222/libft
libft.a: Removing objects dir...
libft.a: Deleting...
libft.a: Create objects dir...
libft.a: Compiling: srcs/ft_memset.c...
libft.a: Compiling: srcs/ft_bzero.c...
libft.a: Compiling: srcs/ft_memcpy.c...
libft.a: Compiling: srcs/ft_memccpy.c...
libft.a: Compiling: srcs/ft_memmove.c...
libft.a: Compiling: srcs/ft_memchr.c...
libft.a: Compiling: srcs/ft_memcmp.c...
libft.a: Compiling: srcs/ft_strlen.c...
libft.a: Compiling: srcs/ft_strdup.c...
libft.a: Compiling: srcs/ft_strcpy.c...
libft.a: Compiling: srcs/ft_strncpy.c...
libft.a: Compiling: srcs/ft_strcat.c...
libft.a: Compiling: srcs/ft_strncat.c...
libft.a: Compiling: srcs/ft_strlcat.c...
libft.a: Compiling: srcs/ft_strchr.c...
libft.a: Compiling: srcs/ft_strrchr.c...
libft.a: Compiling: srcs/ft_strstr.c...
libft.a: Compiling: srcs/ft_strnstr.c...
libft.a: Compiling: srcs/ft_strcmp.c...
libft.a: Compiling: srcs/ft_strncmp.c...
libft.a: Compiling: srcs/ft_atoi.c...
libft.a: Compiling: srcs/ft_isalpha.c...
libft.a: Compiling: srcs/ft_isdigit.c...
libft.a: Compiling: srcs/ft_isalnum.c...
libft.a: Compiling: srcs/ft_isascii.c...
libft.a: Compiling: srcs/ft_isprint.c...
libft.a: Compiling: srcs/ft_toupper.c...
libft.a: Compiling: srcs/ft_putchar_fd.c...
libft.a: Compiling: srcs/ft_putstr_fd.c...
libft.a: Compiling: srcs/ft_putnbr.c...
libft.a: Compiling: srcs/ft_putnbr_fd.c...
libft.a: Compiling: srcs/ft_putendl.c...
libft.a: Compiling: srcs/ft_putendl_fd.c...
libft.a: Compiling: srcs/ft_memdel.c...
libft.a: Compiling: srcs/ft_strdel.c...
libft.a: Compiling: srcs/ft_strnew.c...
libft.a: Compiling: srcs/ft_tolower.c...
libft.a: Compiling: srcs/ft_putchar.c...
libft.a: Compiling: srcs/ft_memalloc.c...
libft.a: Compiling: srcs/ft_strclr.c...
libft.a: Compiling: srcs/ft_striter.c...
libft.a: Compiling: srcs/ft_striteri.c...
libft.a: Compiling: srcs/ft_strmap.c...
libft.a: Compiling: srcs/ft_strmapi.c...
libft.a: Compiling: srcs/ft_strsub.c...
libft.a: Compiling: srcs/ft_putstr.c...
libft.a: Compiling: srcs/ft_strjoin.c...
libft.a: Compiling: srcs/ft_strtrim.c...
libft.a: Compiling: srcs/ft_itoa.c...
libft.a: Compiling: srcs/ft_isspace.c...
libft.a: Compiling: srcs/ft_isnegative.c...
libft.a: Compiling: srcs/ft_lstnew.c...
libft.a: Compiling: srcs/ft_lstadd.c...
libft.a: Compiling: srcs/ft_strsplit.c...
libft.a: Compiling: srcs/ft_strequ.c...
libft.a: Compiling: srcs/ft_strnequ.c...
libft.a: Compiling: srcs/ft_lstdel.c...
libft.a: Compiling: srcs/ft_lstiter.c...
libft.a: Compiling: srcs/ft_lstmap.c...
libft.a: Compiling: srcs/ft_lstdelone.c...
libft.a: Compiling: srcs/ft_strupcase.c...
libft.a: Compiling: srcs/ft_strlowcase.c...
libft.a: Compiling: srcs/ft_split_whitespaces.c...
libft.a: Compiling: srcs/ft_param_to_tab.c...
libft.a: Compiling: srcs/ft_show_tab.c...
libft.a: Compiling: srcs/ft_strjoinfree.c...
make re -k -C /tmp/ft_ls-tmpls-222 -L /tmp/ft_ls-tmpls-222/libft -lft
ft_ls: Removing objects dir...
ft_ls_debug: Removing objects dir...
libft.a: Removing objects dir...
ft_ls: Deleting...
ft_ls_debug: Deleting...
libft.a: Deleting...
libft.a: Create objects dir...
libft.a: Compiling: srcs/ft_memset.c...
libft.a: Compiling: srcs/ft_bzero.c...
libft.a: Compiling: srcs/ft_memcpy.c...
libft.a: Compiling: srcs/ft_memccpy.c...
libft.a: Compiling: srcs/ft_memmove.c...
libft.a: Compiling: srcs/ft_memchr.c...
libft.a: Compiling: srcs/ft_memcmp.c...
libft.a: Compiling: srcs/ft_strlen.c...
libft.a: Compiling: srcs/ft_strdup.c...
libft.a: Compiling: srcs/ft_strcpy.c...
libft.a: Compiling: srcs/ft_strncpy.c...
libft.a: Compiling: srcs/ft_strcat.c...
libft.a: Compiling: srcs/ft_strncat.c...
libft.a: Compiling: srcs/ft_strlcat.c...
libft.a: Compiling: srcs/ft_strchr.c...
libft.a: Compiling: srcs/ft_strrchr.c...
libft.a: Compiling: srcs/ft_strstr.c...
libft.a: Compiling: srcs/ft_strnstr.c...
libft.a: Compiling: srcs/ft_strcmp.c...
libft.a: Compiling: srcs/ft_strncmp.c...
libft.a: Compiling: srcs/ft_atoi.c...
libft.a: Compiling: srcs/ft_isalpha.c...
libft.a: Compiling: srcs/ft_isdigit.c...
libft.a: Compiling: srcs/ft_isalnum.c...
libft.a: Compiling: srcs/ft_isascii.c...
libft.a: Compiling: srcs/ft_isprint.c...
libft.a: Compiling: srcs/ft_toupper.c...
libft.a: Compiling: srcs/ft_putchar_fd.c...
libft.a: Compiling: srcs/ft_putstr_fd.c...
libft.a: Compiling: srcs/ft_putnbr.c...
libft.a: Compiling: srcs/ft_putnbr_fd.c...
libft.a: Compiling: srcs/ft_putendl.c...
libft.a: Compiling: srcs/ft_putendl_fd.c...
libft.a: Compiling: srcs/ft_memdel.c...
libft.a: Compiling: srcs/ft_strdel.c...
libft.a: Compiling: srcs/ft_strnew.c...
libft.a: Compiling: srcs/ft_tolower.c...
libft.a: Compiling: srcs/ft_putchar.c...
libft.a: Compiling: srcs/ft_memalloc.c...
libft.a: Compiling: srcs/ft_strclr.c...
libft.a: Compiling: srcs/ft_striter.c...
libft.a: Compiling: srcs/ft_striteri.c...
libft.a: Compiling: srcs/ft_strmap.c...
libft.a: Compiling: srcs/ft_strmapi.c...
libft.a: Compiling: srcs/ft_strsub.c...
libft.a: Compiling: srcs/ft_putstr.c...
libft.a: Compiling: srcs/ft_strjoin.c...
libft.a: Compiling: srcs/ft_strtrim.c...
libft.a: Compiling: srcs/ft_itoa.c...
libft.a: Compiling: srcs/ft_isspace.c...
libft.a: Compiling: srcs/ft_isnegative.c...
libft.a: Compiling: srcs/ft_lstnew.c...
libft.a: Compiling: srcs/ft_lstadd.c...
libft.a: Compiling: srcs/ft_strsplit.c...
libft.a: Compiling: srcs/ft_strequ.c...
libft.a: Compiling: srcs/ft_strnequ.c...
libft.a: Compiling: srcs/ft_lstdel.c...
libft.a: Compiling: srcs/ft_lstiter.c...
libft.a: Compiling: srcs/ft_lstmap.c...
libft.a: Compiling: srcs/ft_lstdelone.c...
libft.a: Compiling: srcs/ft_strupcase.c...
libft.a: Compiling: srcs/ft_strlowcase.c...
libft.a: Compiling: srcs/ft_split_whitespaces.c...
libft.a: Compiling: srcs/ft_param_to_tab.c...
libft.a: Compiling: srcs/ft_show_tab.c...
libft.a: Compiling: srcs/ft_strjoinfree.c...
ft_ls: Create objects dir...
ft_ls_debug: Create objects dir...
ft_ls: Compiling: srcs/ft_arg.c...
ft_ls: Compiling: srcs/ft_color.c...
ft_ls: Compiling: srcs/ft_display.c...
ft_ls: Compiling: srcs/ft_display_init.c...
ft_ls: Compiling: srcs/ft_display_rec.c...
ft_ls: Compiling: srcs/ft_err.c...
ft_ls: Compiling: srcs/ft_init.c...
ft_ls: Compiling: srcs/ft_print.c...
ft_ls: Compiling: srcs/ft_ls.c...
ft_ls: Compiling: srcs/ft_sort.c...
ft_ls: Compiling: srcs/ft_free.c...
ft_ls: Compiling: srcs/ft_space.c...
ft_ls: Compiling: srcs/main.c...
ft_ls_debug: Compiling: srcs/ft_arg.c...
ft_ls_debug: Compiling: srcs/ft_color.c...
ft_ls_debug: Compiling: srcs/ft_display.c...
ft_ls_debug: Compiling: srcs/ft_display_init.c...
ft_ls_debug: Compiling: srcs/ft_display_rec.c...
ft_ls_debug: Compiling: srcs/ft_err.c...
ft_ls_debug: Compiling: srcs/ft_init.c...
ft_ls_debug: Compiling: srcs/ft_print.c...
ft_ls_debug: Compiling: srcs/ft_ls.c...
ft_ls_debug: Compiling: srcs/ft_sort.c...
ft_ls_debug: Compiling: srcs/ft_free.c...
ft_ls_debug: Compiling: srcs/ft_space.c...
ft_ls_debug: Compiling: srcs/main.c...
make[3]: Nothing to be done for `/tmp/ft_ls-tmpls-222/libft'.
make -k -C ../testframework/v3/
rm -f *.o
cc -Wall -Werror -Wextra -ggdb -I includes -c srcs/**/*.c
ar rc libmt_framework.a *.o
duplicate symbol _main in:
/var/folders/kl/z_40ffpx0331rd3_lc3vmlr80000gn/T/main-b1bf88.o
.tmp/objects/main.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [exec_tests] Error 1
make[1]: *** [all] Error 2
make: *** [ft_ls] Error 2 |
Du coup on est bien d'accord qu'il y a un problème à ce niveau ? |
J'ai le même problème, donc soit on est tous les deux mongols soit il y a un problème effectivement |
Ben ecoutez les gars c'est vraiment etrange, je viens de clone le 42fc et mon ft_ls et aucun probleme |
Etes vous sur de vos includes ? etes vous sur de pas compiler deux fois un fichier ou d'avoir deux main? |
Vos repositories sont en prive je ne peux meme pas voir votre code :/ |
J'ai validé mon ls ... donc si ça venait du mien j'aurais pas pu le valider Je propose qu'on se voit à l'école direct quant es-tu dispo ? envoie moi un mail sinon |
Hey @flayor Je serai a 42 ce lundi et mardi 29-30 janviers |
Hello,
Je suppose que ça déjà été dit mais bon, le moulitest pour ft_ls ne marche pas du tout, lorsque qu'il essaie de compiler il ne trouve pas les fichiers de la libft.
Et en les mettant dans le dossier principal, il met une erreur duplicate main ce qui rends le test impossible...
C'est pas plus simple de faire un make -C sur le projet au moins il compile avec les bonnes règles
ou alors compiler aussi le dossier libft/ si il existe ...
Car c'est dommage ça enlève pas mal de test du coup ....
The text was updated successfully, but these errors were encountered: